Initialization

Once the customer is linked, the customer's id can be requested as follows:

IndigitallFlutterPlugin.getCustomer(
    (customer) => {
          // Do something
        },
    (error) => {
          // Do something else
        });

And the customer's information fields as seen below:

var fieldsArray = ["field1", "field2"];

IndigitallFlutterPlugin.getCustomerInformation(
    fieldsArray,
    (fields) => {
          // Do something
        },
    (error) => {
          // Do something else
        });