idFields property

Map<String, dynamic> get idFields

A map of id fields, based on TypePolicy.keyFields for the given type, and their respective values. By default, id or _id are used.

To return a record with id: 1234, pass the following map:

{
  "id": "1234"
}

Implementation

Map<String, dynamic> get idFields;