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