updateEntity method Null safety
- String documentID,
- SimpleTextEntity value
override
Implementation
@override
Future<SimpleTextEntity> updateEntity(
String documentID, SimpleTextEntity value) {
return simpleTextCollection
.doc(documentID)
.update(value.toDocument())
.then((_) => value);
}