MethodChannelNativebrikBridge class
An implementation of NativebrikBridgePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- NativebrikBridgePlatform
- MethodChannelNativebrikBridge
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
-
callTooltipEmbeddingDispatch(
String channelId, UIBlockEventDispatcher event) → Future< void> -
override
-
connectClient(
String projectId, NativebrikCachePolicy cachePolicy) → Future< String?> -
override
-
connectEmbedding(
String id, String channelId, dynamic arguments) → Future< String?> -
override
-
connectEmbeddingInRemoteConfigValue(
String key, String channelId, String embeddingChannelId, dynamic arguments) → Future< String?> -
override
-
connectRemoteConfig(
String id, String channelId) → Future< RemoteConfigPhase?> -
override
-
connectTooltip(
String name) → Future< UIRootBlock?> -
override
-
connectTooltipEmbedding(
String channelId, UIRootBlock rootBlock) → Future< String?> -
override
-
disconnectEmbedding(
String channelId) → Future< String?> -
override
-
disconnectRemoteConfig(
String channelId) → Future< String?> -
override
-
disconnectTooltipEmbedding(
String channelId) → Future< String?> -
override
-
dispatch(
String name) → Future< String?> -
override
-
getNativebrikSDKVersion(
) → Future< String?> -
override
-
getRemoteConfigValue(
String channelId, String key) → Future< String?> -
override
-
getUserId(
) → Future< String?> -
override
-
getUserProperties(
) → Future< Map< String, String> ?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordCrash(
Map< String, dynamic> errorData) → Future<void> -
Records a crash with the given error data.
override
-
setUserProperties(
Map< String, dynamic> properties) → Future<void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited