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