finalizeEvent method

Future<bool> finalizeEvent({
  1. required Identifier identifier,
  2. required String event,
  3. required Signature signature,
  4. dynamic hint,
})
override

Implementation

Future<bool> finalizeEvent(
    {required Identifier identifier,
    required String event,
    required Signature signature,
    dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_identifier(identifier);
  var arg1 = _platform.api2wire_String(event);
  var arg2 = _platform.api2wire_box_autoadd_signature(signature);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_finalize_event(port_, arg0, arg1, arg2),
    parseSuccessData: _wire2api_bool,
    constMeta: kFinalizeEventConstMeta,
    argValues: [identifier, event, signature],
    hint: hint,
  ));
}