getAutomaticShutdownTime method

  1. @override
Future<int?> getAutomaticShutdownTime()
override

getAutomaticShutdownTime() returns an integer representing the automatic shutdown time in minutes.

Implementation

@override
Future<int?> getAutomaticShutdownTime() async {
  int? automaticShutdownTime = await methodChannel.invokeMethod<int>(
    'getAutomaticShutdownTime',
  );
  return automaticShutdownTime;
}