ValidateResponse.fromJson constructor

ValidateResponse.fromJson(
  1. Map _json
)

Implementation

ValidateResponse.fromJson(core.Map _json)
    : this(
        errorMessage: _json.containsKey('errorMessage')
            ? _json['errorMessage'] as core.String
            : null,
        queryInfo: _json.containsKey('queryInfo')
            ? QueryInfo.fromJson(
                _json['queryInfo'] as core.Map<core.String, core.dynamic>)
            : null,
      );