Boxo class

Implementers

Constructors

Boxo.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

closeMiniapp(String appId) → void
customEvents() Stream<CustomEvent>
getMiniapps() → void
hideMiniapps() → void
lifecycleHooksListener({dynamic onAuth(String appId)?, dynamic onLaunch(String appId)?, dynamic onResume(String appId)?, dynamic onPause(String appId)?, dynamic onClose(String appId)?, dynamic onError(String appId, String? error)?, dynamic onUserInteraction(String appId)?}) Future<void> Function()
logout() → void
miniapps() Stream<MiniappsResult>
openMiniapp(String appId, {Map<String, dynamic>? data, String? theme, Map<String, String>? extraUrlParams, String? urlSuffix, Map<String, String>? colors, bool? enableSplash, bool? saveState, String? pageAnimation}) → void
paymentEvents() Stream<PaymentEvent>
sendEvent(CustomEvent customEvent) → void
sendPaymentEvent(PaymentEvent paymentEvent) → void
setAuthCode(String appId, String authCode) → void
setConfig(String clientId, {String? userId = "", bool? sandboxMode = false, bool? multitaskMode = true, String? theme, String? language = "en", bool? isDebug = false, bool? showPermissionsPage = true, bool? showClearCache = true, bool? showAboutPage = true}) → void