toMap method
Returns a map representation of this sync expression as it is needed by native platforms
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'id': id,
'modelName': _modelType.modelName(),
'queryPredicate': _queryPredicateResolver().serializeAsMap()
};
}