getPhoneNumber method

Future<String> getPhoneNumber()

Get the phone number. You may handle exceptions to avoid error message.

Implementation

Future<String> getPhoneNumber() async {
  final result = await _channel.invokeMethod('getPhoneNumber');
  return result;
}