dissolveGroup method Null safety

Future<void> dissolveGroup(
  1. {@required String? groupId}
)

Implementation

Future<void> dissolveGroup({
  @required String? groupId,
}) async {
  await _channel.invokeMethod(
      'dissolveGroup',
      {
        'groupId': groupId,
      }..removeWhere((key, value) => value == null));

  return;
}