incrementCounter method

Future<int> incrementCounter({
  1. required Counter counter,
  2. dynamic hint,
})
override

Implementation

Future<int> incrementCounter({required Counter counter, dynamic hint}) {
  var arg0 = _platform.api2wire_Counter(counter);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_increment_counter(port_, arg0),
    parseSuccessData: _wire2api_usize,
    constMeta: kIncrementCounterConstMeta,
    argValues: [counter],
    hint: hint,
  ));
}