setBillingAddress static method
Implementation
static Future<void> setBillingAddress(
String firstName,
String lastName,
String phoneNumber,
String addressLine1,
String addressLine2,
String country,
String region,
String city) async {
try {
await platform.invokeMethod('setBillingAddress', <String, String>{
'firstName': firstName,
'lastName': lastName,
'phoneNumber': phoneNumber,
'addressLine1': addressLine1,
'addressLine2': addressLine2,
'country': country,
'region': region,
'city': city,
});
} on PlatformException catch (e) {
showToast(e.message.toString());
}
}