areActivitiesEnabled method

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

Implementation

@override
Future<bool> areActivitiesEnabled() async {
  try {
    return (await _methodChannel
            .invokeMethod<bool>('areActivitiesEnabled')) ??
        false;
  } catch (e) {
    return false;
  }
}