update method

  1. @override
Future<SimpleTextModel> update(
  1. SimpleTextModel value
)
override

Implementation

@override
Future<SimpleTextModel> update(SimpleTextModel value) {
  return simpleTextCollection
      .doc(value.documentID)
      .update(value.toEntity(appId: appId).toDocument())
      .then((_) => value);
}