setParameters method Null safety

Future<void> setParameters(
  1. Map<String, String> parameters
)

(UNTESTED)

Implementation

Future<void> setParameters(Map<String, String> parameters) async {
  await _channel.invokeMethod(
      'setParameters',
      parameters.entries
          .map((entry) => '${entry.key}=${entry.value}')
          .join(';'));
}