MethodChannelGlyphInterfaceSdk class
An implementation of GlyphInterfaceSdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- GlyphInterfaceSdkPlatform
- MethodChannelGlyphInterfaceSdk
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
-
animate(
{required String id}) → Future< void> -
override
-
build(
{required String id}) → Future< void> -
override
-
builder(
) → Future< String> -
override
-
channel(
{required String id, required int channel}) → Future< void> -
override
-
getPlatform(
) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCycles(
{required String id, required int cycles}) → Future< void> -
override
-
setInterval(
{required String id, required int interval}) → Future< void> -
override
-
setPeriod(
{required String id, required int period}) → Future< void> -
override
-
toggle(
{required String id}) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited