update method

Future<void> update(
  1. String id,
  2. T updates
)

Implementation

Future<void> update(String id, T updates) async {
  final response = await _harnCollection.update(id, updates.toMap());
  harnLog.register({"update": updates});
  return response;
}