RestMethodResponse.fromJson constructor

RestMethodResponse.fromJson(
  1. Map json_
)

Implementation

RestMethodResponse.fromJson(core.Map json_)
  : this(
      P_ref: json_[r'$ref'] as core.String?,
      additionalProperties: json_.containsKey('additionalProperties')
          ? JsonSchema.fromJson(
              json_['additionalProperties']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      type: json_['type'] as core.String?,
    );