PlatformChannelBasecraft class
- Inheritance
-
- Object
- PlatformInterface
- BasecraftPlatform
- PlatformChannelBasecraft
Constructors
Properties
- batteryLevelChannel → EventChannel
-
final
- batteryStatusChannel → EventChannel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
-
onBatteryLevelChanged
→ Stream<
num> -
no setteroverride
-
onBatteryStatusChanged
→ Stream<
BatteryStatus> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkPermission(
String permission) → Future< bool> -
override
-
getBatteryLevel(
) → Future< num> -
override
-
getBatteryStatus(
) → Future< BatteryStatus> -
override
-
getDeviceInfo(
) → Future -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openSettings(
) → Future< void> -
override
-
requestPermission(
String permission) → Future< bool> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited