QueryParameterType.fromJson constructor

QueryParameterType.fromJson(
  1. Map json_
)

Implementation

QueryParameterType.fromJson(core.Map json_)
    : this(
        arrayType: json_.containsKey('arrayType')
            ? QueryParameterType.fromJson(
                json_['arrayType'] as core.Map<core.String, core.dynamic>)
            : null,
        rangeElementType: json_.containsKey('rangeElementType')
            ? QueryParameterType.fromJson(json_['rangeElementType']
                as core.Map<core.String, core.dynamic>)
            : null,
        structTypes: json_.containsKey('structTypes')
            ? (json_['structTypes'] as core.List)
                .map((value) => QueryParameterTypeStructTypes.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );