update method

  1. @override
Future<void> update(
  1. Model item
)
override

Updates an entry in the repository.

Implementation

@override
Future<void> update(Model item) async {
  await _collectionReference.doc(item.id).set(item.toJson());
}