storePhoneNumber static method
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,
});
}