idFields property

  1. @override
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

@override
Map<String, dynamic> get idFields;