toJson method
Implementation
Map<String, dynamic> toJson() {
final cidrBlockAssociationSet = this.cidrBlockAssociationSet;
final dhcpOptionsId = this.dhcpOptionsId;
final ipv6CidrBlockAssociationSet = this.ipv6CidrBlockAssociationSet;
final state = this.state;
return {
if (cidrBlockAssociationSet != null)
'CidrBlockAssociationSet': cidrBlockAssociationSet,
if (dhcpOptionsId != null) 'DhcpOptionsId': dhcpOptionsId,
if (ipv6CidrBlockAssociationSet != null)
'Ipv6CidrBlockAssociationSet': ipv6CidrBlockAssociationSet,
if (state != null) 'State': state,
};
}