setCustomerInfo static method
Implementation
static Future<void> setCustomerInfo(String firstName, String lastName,
String phoneNumber, String email, bool isFirstOrder) async {
try {
await platform.invokeMethod('setCustomerInfo', <String, dynamic>{
'firstName': firstName,
'lastName': lastName,
'phoneNumber': phoneNumber,
'email': email,
'isFirstOrder': isFirstOrder,
});
} on PlatformException catch (e) {
showToast(e.message.toString());
}
}