toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (adminEnabled != null) 'adminEnabled': adminEnabled!,
  if (advertisedRoutes != null) 'advertisedRoutes': advertisedRoutes!,
  if (bandwidth != null) 'bandwidth': bandwidth!,
  if (createTime != null) 'createTime': createTime!,
  if (description != null) 'description': description!,
  if (generatedActivationKey != null)
    'generatedActivationKey': generatedActivationKey!,
  if (labels != null) 'labels': labels!,
  if (mtuLimit != null) 'mtuLimit': mtuLimit!,
  if (name != null) 'name': name!,
  if (network != null) 'network': network!,
  if (providedActivationKey != null)
    'providedActivationKey': providedActivationKey!,
  if (region != null) 'region': region!,
  if (remoteProfile != null) 'remoteProfile': remoteProfile!,
  if (stackType != null) 'stackType': stackType!,
  if (state != null) 'state': state!,
  if (updateTime != null) 'updateTime': updateTime!,
};