MethodChannelFlutterTurbolinkAttribution class

An implementation of FlutterTurbolinkAttributionPlatform that uses method channels.

Inheritance

Properties

eventChannel EventChannel
final
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

autoInstance(String projectID, String appKey, String appSecret) → void
override
closeCampaignPage() → void
override
codeSearch(String code) → void
override
customEvent(String eventId, TurboLinkCustomProperties properties) → void
override
enableLogger() → void
override
override
loadDelayRedirectUrl() → void
override
loadUrl(String url) → void
override
login(String userId, String nickName, String avatar, List<String> tags, String inviteCode) → void
override
logout() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(String userId, String nickName, String avatar, List<String> tags, String inviteCode) → void
override
setAppUser(String userId, String userLevel) → void
override
setAppUserInfo(String userId, String nickName, String avatar, List<String> tags, String inviteCode) → void
override
setIdSimpleMode() → void
override
setInitTitle(String title) → void
override
setLang(String lang) → void
override
setLaunchCampaignDelay(int delayTime) → void
override
setNightMode(bool nightMode) → void
override
setScreenOrientationAll() → void
override
setSimpleParameterMode() → void
override
setTitleSize(int titleSize) → void
override
toString() String
A string representation of this object.
inherited
turbolinkReceiveBroadcastStream() Stream<Map>
override
withCampaignCreateCallback(dynamic callback(String p1)) → void
override
withCampaignDestroyCallback(dynamic callback(String)) → void
override
withEventCallback(dynamic callback(TurbolinkEventResponseProperties p1)) → void
override
withEventListenerCallback(dynamic callback(TurbolinkListenerEventProperties p1)) → void
override
withLoginListenerCallback(dynamic callback()) → void
override
withPointListenerCallback(dynamic callback(TurbolinkPointProperties)) → void
override
withRedirectListenerCallback(dynamic callback(TurbolinkRedirectProperties)) → void
override
withRegListenerCallback(dynamic callback()) → void
override
withShareListenerCallback(dynamic callback(TurbolinkShareProperties)) → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

EVENT_CHANNEL → const String
METHOD_CHANNEL → const String