MethodChannelFlutterAddtoappBridge class
An implementation of FlutterAddtoappBridgePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterAddtoappBridgePlatform
- MethodChannelFlutterAddtoappBridge
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → OptionalMethodChannel
-
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
-
back(
{dynamic count = 1}) → void -
override
-
callPlatform(
String key, [dynamic arguments]) → Future -
ERROR:flutter/lib/ui/ui_dart_state.cc(209)
Unhandled Exception: MissingPluginException(No implementation found for method callPlatform on channel flutter_addtoapp_bridge)override -
exitApp(
) → Future< bool> -
objc should be return @(YES) not @(true), or it's runtimeType will be int
override
-
getFloat(
String key, {dynamic defaultValue = 0.0}) → Future< double?> -
override
-
getLong(
String key, {dynamic defaultValue = 0}) → Future< int?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getString(
String key, {dynamic defaultValue = ""}) → Future< String?> -
override
-
isAddToApp(
) → Future< bool> -
objc should be return @(YES) not @(true), or it's runtimeType will be int
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openContainer(
String? entrypoint, {dynamic initialRoute = "/", dynamic newEngine = false, dynamic destroyEngine = false, dynamic transparent = false}) → void -
override
-
putFloat(
String key, double value) → Future< String?> -
override
-
putLong(
String key, int value) → Future< String?> -
override
-
putString(
String key, String value) → Future< String?> -
override
-
setMethodCallHandler(
Future handler(MethodCall call)?) → void -
override
-
showToast(
String? message) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited