downloadThumbGroupAvatar method Null safety

Future<Map> downloadThumbGroupAvatar(
  1. {required String? id}
)

Implementation

Future<Map> downloadThumbGroupAvatar({
  required String? id,
}) async {
  Map res = await _channel.invokeMethod(
      'downloadThumbGroupAvatar',
      {
        'id': id,
      }..removeWhere((key, value) => value == null));
  return res;
}