Nami class

This class is the main entry point of the SDK.

Constructors

Nami()

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

clearExternalIdentifier() Future<void>
Clears out any external identifiers set
configure(NamiConfiguration namiConfiguration) Future<bool>
This method configures and initializes the SDK. This method must be called as the first thing before interacting with the SDK.
getExternalIdentifier() Future<String?>
A string of the external identifier that Nami has stored. Returns null if no id has been stored, including if a string was passed to setExternalIdentifier that was not valid.
setExternalIdentifier(String externalIdentifier, NamiExternalIdentifierType type) Future<void>
Provide a unique identifier that can be used to link different devices to the same customer in the Nami platform. This customer id will also be returned in any data sent from the Nami servers to your systems as well.