setDeviceMatch static method

Future setDeviceMatch(
  1. String? email,
  2. String? userName,
  3. String? phone
)

Implementation

static Future setDeviceMatch(
    String? email, String? userName, String? phone) async {
  try {
    await _platform.invokeListMethod('setDeviceMatch', <String, dynamic>{
      'email': email,
      'userName': userName,
      'phone': phone
    });
  } on PlatformException catch (e) {
    print("Error on device match ${e.message}");
  }
}