normalize method Null safety

Map<String, List> normalize(
  1. String schema,
  2. Map<String, dynamic> json
)

Normalizes the given JSON object using the specified schema name.

Returns a map of normalized JSON objects, where each key corresponds to the name of an entity and the value is a list of normalized JSON objects for that entity.

Implementation

Map<String, List> normalize(String schema, Map<String, dynamic> json) =>
    normalizeWith(_find(schema), json);