RestDescriptionEndpoints.fromJson constructor

RestDescriptionEndpoints.fromJson(
  1. Map json_
)

Implementation

RestDescriptionEndpoints.fromJson(core.Map json_)
    : this(
        deprecated: json_.containsKey('deprecated')
            ? json_['deprecated'] as core.bool
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        endpointUrl: json_.containsKey('endpointUrl')
            ? json_['endpointUrl'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
      );