SyneriseInitializer class

Constructors

SyneriseInitializer()

Properties

completionHandler ↔ dynamic Function(bool initialized)?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init() Future<void>
This function initializes a Synerise SDK instance with specified parameters and invokes a completion handler.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCompletionHandler(dynamic completionHandler(bool)) → void
This function sets a completion handler function that takes a boolean parameter.
setMessagingServiceType(MessagingServiceType messagingServiceType) SyneriseInitializer
The function sets the messaging service type.
setRequestValidationSalt(String requestValidationSalt) SyneriseInitializer
The function sets the request validation salt for SyneriseInitializer.
toString() String
A string representation of this object.
inherited
withBaseUrl(String baseUrl) SyneriseInitializer
The function sets the base URL for the SyneriseInitializer and returns the instance.
withClientApiKey(String clientApiKey) SyneriseInitializer
The function sets the client API key and returns the SyneriseInitializer object.
withCrashHandlingEnabled(bool crashHandlingEnabled) SyneriseInitializer
This function sets the value of a boolean variable for enabling or disabling crash handling and returns an instance of the SyneriseInitializer class.
withDebugModeEnabled(bool debugModeEnabled) SyneriseInitializer
This function sets the debug mode for the SyneriseInitializer and returns the instance.

Operators

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