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