toJson method
Implementation
@override
Object toJson() => {
if (sourceNatActiveIps.isNotDefault)
'sourceNatActiveIps': sourceNatActiveIps,
if (sourceNatActiveRanges.isNotDefault)
'sourceNatActiveRanges': sourceNatActiveRanges,
if (sourceNatDrainIps.isNotDefault) 'sourceNatDrainIps': sourceNatDrainIps,
if (sourceNatDrainRanges.isNotDefault)
'sourceNatDrainRanges': sourceNatDrainRanges,
};