storePhoneNumber static method

Future<void> storePhoneNumber(
  1. String url,
  2. String phoneNumber
)

You can store user's phone number to use later, For example: When user uninstalls application and installs again. You should pass your application's website URL and phone number to this function.

Implementation

static Future<void> storePhoneNumber(String url, String phoneNumber) async {
  await _channel.invokeMethod('storePhoneNumber', {
    'url': url,
    'phoneNumber': phoneNumber,
  });
}