core.Map<core.String, core.dynamic> toJson() => { if (consumerConfig != null) 'consumerConfig': consumerConfig!, };