toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (advertiseMode != null) 'advertiseMode': advertiseMode!,
if (advertisedGroups != null) 'advertisedGroups': advertisedGroups!,
if (advertisedIpRanges != null)
'advertisedIpRanges': advertisedIpRanges!,
if (asn != null) 'asn': asn!,
if (identifierRange != null) 'identifierRange': identifierRange!,
if (keepaliveInterval != null) 'keepaliveInterval': keepaliveInterval!,
};