updateEntity method

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

Implementation

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