updateEntity method

  1. @override
Future<PresentationEntity> updateEntity(
  1. String documentID,
  2. PresentationEntity value
)
override

Implementation

@override
Future<PresentationEntity> updateEntity(
    String documentID, PresentationEntity value) {
  return presentationCollection
      .doc(documentID)
      .update(value.toDocument())
      .then((_) => value);
}