getAutomaticShutdownTime method
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;
}