updateEntity method

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

Implementation

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