keepActive method

  1. @override
Future<void> keepActive(
  1. bool enabled
)
override

Android only

Implementation

@override
Future<void> keepActive(bool enabled) async {
  await methodChannel.invokeMethod(
    'keepActive',
    <String, dynamic>{
      'enabled': enabled,
    },
  );
}