toDocument method

  1. @override
Map<String, Object?> toDocument()
override

Implementation

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