updateEntity method

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

Implementation

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