FlutterUsbPlusPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- FlutterUsbPlusPlatform
- Implementers
Constructors
- FlutterUsbPlusPlatform()
- Constructs a FlutterUsbPlusPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeUsbConnection(
) → Future< bool?> -
getPlatformVersion(
) → Future< String?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onReceiveData(
) → Stream< List< int> > -
openUsbConnection(
int index, int baudRate, int dataBits, int stopBits, int parity) → Future< bool?> -
requestUSBPermission(
) → Future< bool?> -
requestUSBPermissionWithConnection(
int index, int baudRate, int dataBits, int stopBits, int parity) → Future< bool?> -
sendDataToUsb(
List< int> data) → Future<bool?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ FlutterUsbPlusPlatform
-
The default instance of FlutterUsbPlusPlatform to use.
getter/setter pair
-
onDataReceivedStream
→ Stream<
List< int> > -
no setter
Static Methods
-
dispose(
) → void -
onNativeCall(
String method, dynamic arguments) → Future< void> -
registerNativeCallback(
) → void