toJson abstract method

Map<String, dynamic> toJson()

Method used for serializing data to a Map format so Firestore may write it.

Implementation

Map<String, dynamic> toJson();