isPhoneAccountEnabled method

  1. @override
Future<bool> isPhoneAccountEnabled()
override

Checks if App's phone account is enabled

Android only

Implementation

@override
Future<bool> isPhoneAccountEnabled() {
  if (defaultTargetPlatform != TargetPlatform.android) {
    return Future.value(true);
  }
  return _channel.invokeMethod<bool?>('isPhoneAccountEnabled', {}).then<bool>((bool? value) => value ?? false);
}