login static method

Future<void> login({
  1. String withId = "",
})

Provide a unique identifier that is 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.

The ID sent to Nami must be a valid UUID or you may hash any other identifier with SHA256 and provide it in this call.

Note that Nami platform will reject the withId, and it will not get saved in case where withId value doesn't match a supported format.

Implementation

static Future<void> login({String withId = ""}) {
  return channel.invokeMethod("login", withId);
}