toJson method

  1. @override
Object toJson()

Implementation

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