getWithKeys method Null safety

Map<String, T?> getWithKeys(
  1. List<String> keys
)

Implementation

Map<String, T?> getWithKeys(List<String> keys) {
  if (keys.isEmpty) return {};
  return {for (var key in keys) key: getWithKey(key)};
}