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