Env class

Inheritance

Constructors

Env()

Properties

$resource → NativeResource
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
ready → Future<void>
Whether the instance is initialized
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() → void
inherited
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) → Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendInstanceGet<T>(String property) → Future<T>
Get instance property
inherited
sendInstanceSet(String property, dynamic value) → Future<void>
Set instance property
inherited
toString() → String
A string representation of this object.
inherited
updateResource(NativeResource resource) → void
inherited

Operators

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

Static Properties

savedAppId ↔ String?
getter/setter pair

Static Methods

init(dynamic config) → Future
SDK 初始化接口(废弃)
openAppLog(dynamic config) → Future<void>
setAppId(String appId) → void
setBizType(String bizType) → Future<void>
设置业务类型(bizType),供后续初始化/启动使用
setTrackCustomHeader(dynamic config) → Future<void>
start(dynamic config) → Future
SDK 初始化接口(推荐)
startAppLog() → Future<void>

Constants

$namespace → const String