Configuration class

The class represents the information for SDK initialization.

Constructors

Configuration({required String domain, required String endpointIos, required String endpointAndroid, required bool subscribeCustomerIfCreated, String previousDeviceUUID = '', String previousInstallationId = '', bool shouldCreateCustomer = true})
Constructs a Configuration.

Properties

domain String
Used for generating baseurl for REST.
final
endpointAndroid String
Used for app identification on Android.
final
endpointIos String
Used for app identification on iOS.
final
hashCode int
The hash code for this object.
no setterinherited
previousDeviceUUID String
Used instead of the generated value on native platform.
final
previousInstallationId String
Used to create tracking continuity by uuid.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldCreateCustomer bool
Flag which determines create or not anonymous users. Usable only during first initialisation. Default is true.
final
subscribeCustomerIfCreated bool
Flag which determines subscription status of the user.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Returns map of parameters
toString() String
A string representation of this object.
inherited

Operators

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