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