setAutoReset method
Set auto reset when application lifecycle changed
This method is useful for user change whether this plugin should auto reset to system brightness when application lifecycle changed.
(iOS only) implemented in iOS only because only iOS native side does not having reset method.
Implementation
@override
Future<void> setAutoReset(bool isAutoReset) async {
await pluginMethodChannel
.invokeMethod(methodNameSetAutoReset, {"isAutoReset": isAutoReset});
}