toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (autoCreateRoutes != null) 'autoCreateRoutes': autoCreateRoutes!,
if (exchangeSubnetRoutes != null)
'exchangeSubnetRoutes': exchangeSubnetRoutes!,
if (exportCustomRoutes != null)
'exportCustomRoutes': exportCustomRoutes!,
if (exportSubnetRoutesWithPublicIp != null)
'exportSubnetRoutesWithPublicIp': exportSubnetRoutesWithPublicIp!,
if (importCustomRoutes != null)
'importCustomRoutes': importCustomRoutes!,
if (importSubnetRoutesWithPublicIp != null)
'importSubnetRoutesWithPublicIp': importSubnetRoutesWithPublicIp!,
if (name != null) 'name': name!,
if (network != null) 'network': network!,
if (peerMtu != null) 'peerMtu': peerMtu!,
if (stackType != null) 'stackType': stackType!,
if (state != null) 'state': state!,
if (stateDetails != null) 'stateDetails': stateDetails!,
};