JsonMapCollection typedef

JsonMapCollection = List<JsonMap>

A list of JSON-like maps, useful for handling multiple entities.

{@tool snippet}

JsonMapCollection users = [
  {'name': 'Alice'},
  {'name': 'Bob'}
];
print(users.length); // 2

{@end-tool}

Implementation

typedef JsonMapCollection = List<JsonMap>;