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