cuttle/mobile/lib/bridge_definitions.dart

32 lines
1.3 KiB
Dart
Raw Normal View History

2023-08-17 23:14:32 +00:00
// AUTO GENERATED FILE, DO NOT EDIT.
// Generated by `flutter_rust_bridge`@ 1.81.0.
// ignore_for_file: non_constant_identifier_names, unused_element, duplicate_ignore, directives_ordering, curly_braces_in_flow_control_structures, unnecessary_lambdas, slash_for_doc_comments, prefer_const_literals_to_create_immutables, implicit_dynamic_list_literal, duplicate_import, unused_import, unnecessary_import, prefer_single_quotes, prefer_const_constructors, use_super_parameters, always_use_package_imports, annotate_overrides, invalid_use_of_protected_member, constant_identifier_names, invalid_use_of_internal_member, prefer_is_empty, unnecessary_const
import 'dart:convert';
import 'dart:async';
import 'package:meta/meta.dart';
import 'package:flutter_rust_bridge/flutter_rust_bridge.dart';
import 'package:uuid/uuid.dart';
abstract class Native {
Future<TxConfig?> getTxConfig({required Uint8List bytes, dynamic hint});
2023-08-17 23:14:32 +00:00
FlutterRustBridgeTaskConstMeta get kGetTxConfigConstMeta;
2023-08-19 16:23:12 +00:00
Future<bool> checkRaptor({required Uint8List buffer, required TxConfig txconf, dynamic hint});
FlutterRustBridgeTaskConstMeta get kCheckRaptorConstMeta;
2023-08-17 23:14:32 +00:00
}
class TxConfig {
final int len;
final int mtu;
final String description;
const TxConfig({
required this.len,
required this.mtu,
required this.description,
});
2023-08-17 23:14:32 +00:00
}