update method

Future update (Carrier carrier)

replace one document in collection

Implementation

static Future update(Carrier carrier) async {
  var res = await _channel.invokeMethod('update', carrier.toJson());
  return res;
}