checkDefaultApp method

  1. @override
Future<bool?> checkDefaultApp()
override

Implementation

@override
Future<bool?> checkDefaultApp() async {
  try {
    final result = await methodChannel.invokeMethod('is_default_app');
    return result;
  } on PlatformException catch (e) {
    return false;
  }
}