Flagship class

Mixed in types

Constructors

Flagship.sharedInstance()
factory

Properties

apiKey String?
getter/setter pair
currentVisitor Visitor?
getter/setter pair
envId String?
getter/setter pair
flagshipInstanceId String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastInitializationTimestamp String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
getConfiguration() FlagshipConfig?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onUpdateState(Status newStatus) → void
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

enableLog(bool isLogEnabled) → void
getCurrentVisitor() Visitor?
getStatus() Status
logger(Level level, String message, {bool isJsonString = false}) → void
newVisitor(String visitorId, {Instance instanceType = Instance.SINGLE_INSTANCE}) VisitorBuilder
Create new visitor
setCurrentVisitor(Visitor visitor) → dynamic
setLoggerLevel(Level newLevel) → void
start(String envId, String apiKey, {FlagshipConfig? config}) → dynamic