setLogLevel method

  1. @override
Future setLogLevel(
  1. Level level
)
override

Implementation

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