addEntity method
Implementation
@override
Future<TutorialEntity> addEntity(String documentID, TutorialEntity value) {
return tutorialCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}
@override
Future<TutorialEntity> addEntity(String documentID, TutorialEntity value) {
return tutorialCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}