# updateEntity method Null safety

1. @override

dynamic 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);
    }