Fields constructor
The fields
argument maps the resource type to a list of fields.
Example:
Fields({'articles': ['title', 'body'], 'people': ['name']});
Implementation
Fields([Map<String, Iterable<String>> fields = const {}]) {
addAll(fields);
}