toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (labels != null) 'labels': labels!,
      if (locationsDetails != null) 'locationsDetails': locationsDetails!,
      if (mirroringEndpointGroup != null)
        'mirroringEndpointGroup': mirroringEndpointGroup!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };