MethodChannelZonkaSdk class
An implementation of ZonkaSdkPlatform that uses method channels. An implementation of ZonkaSdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- ZonkaSdkPlatform
- MethodChannelZonkaSdk
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAppVersionCode(
) → Future< String?> -
Gets the application version code from the native platform.
override
-
getBrandName(
) → Future< String?> -
override
-
getDeviceId(
) → Future< String?> -
override
-
getDeviceName(
) → Future< String?> -
Gets the device name.
override
-
getDeviceSerial(
) → Future< String?> -
Gets the device's serial number.
override
-
getIsTablet(
) → Future< bool?> -
override
-
getModelName(
) → Future< String?> -
Retrieves the current screen name from the native platform.
override
-
getPlatformVersion(
) → Future< String?> -
Retrieves the platform version from the native platform.
override
-
getScreenName(
) → Future< String?> -
Gets the currently active screen name from the native platform.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited