toDocument method
Implementation
@override
Map<String, Object?> toDocument() {
Map<String, Object?> theDocument = HashMap();
if (memberMediumId != null) {
theDocument["memberMediumId"] = memberMediumId;
} else {
theDocument["memberMediumId"] = null;
}
return theDocument;
}