@override Future setLogLevel(Level level) async { var logLevel = <String, int>{ 'level': level.index, }; return await methodChannel.invokeMethod<bool>("setLogLevel", logLevel); }