QueryAssetsResponse.fromJson constructor

QueryAssetsResponse.fromJson(
  1. Map json_
)

Implementation

QueryAssetsResponse.fromJson(core.Map json_)
    : this(
        done: json_.containsKey('done') ? json_['done'] as core.bool : null,
        error: json_.containsKey('error')
            ? Status.fromJson(
                json_['error'] as core.Map<core.String, core.dynamic>)
            : null,
        jobReference: json_.containsKey('jobReference')
            ? json_['jobReference'] as core.String
            : null,
        outputConfig: json_.containsKey('outputConfig')
            ? QueryAssetsOutputConfig.fromJson(
                json_['outputConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        queryResult: json_.containsKey('queryResult')
            ? QueryResult.fromJson(
                json_['queryResult'] as core.Map<core.String, core.dynamic>)
            : null,
      );