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