toMap method

Map<String, dynamic> toMap()

returns a map of all the properties of the item merged with the ones that have been updated

Implementation

Map<String, dynamic> toMap() {
  return Map<String, dynamic>.of(_rawReceivedData)..addAll(updatedProperties);
}