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