getPhoneNumber static method

Future<String?> getPhoneNumber()

Method used to call the Phone Selector API in Android

Implementation

static Future<String?> getPhoneNumber() async {
  final String? version = await _channel.invokeMethod('callPhoneSelector');
  return version;
}