newStaticMethodDataAndSignature method

Future<DataAndSignature> newStaticMethodDataAndSignature({
  1. required String data,
  2. required Signature signature,
  3. dynamic hint,
})
override

Implementation

Future<DataAndSignature> newStaticMethodDataAndSignature(
    {required String data, required Signature signature, dynamic hint}) {
  var arg0 = _platform.api2wire_String(data);
  var arg1 = _platform.api2wire_box_autoadd_signature(signature);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner
        .wire_new__static_method__DataAndSignature(port_, arg0, arg1),
    parseSuccessData: (d) => _wire2api_data_and_signature(d),
    constMeta: kNewStaticMethodDataAndSignatureConstMeta,
    argValues: [data, signature],
    hint: hint,
  ));
}