toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (gateways != null) 'gateways': gateways!,
      if (hostnames != null) 'hostnames': hostnames!,
      if (labels != null) 'labels': labels!,
      if (meshes != null) 'meshes': meshes!,
      if (name != null) 'name': name!,
      if (rules != null) 'rules': rules!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (updateTime != null) 'updateTime': updateTime!,
    };