ResultStorage.fromJson constructor

ResultStorage.fromJson(
  1. Map _json
)

Implementation

ResultStorage.fromJson(core.Map _json)
    : this(
        googleCloudStorage: _json.containsKey('googleCloudStorage')
            ? GoogleCloudStorage.fromJson(_json['googleCloudStorage']
                as core.Map<core.String, core.dynamic>)
            : null,
        resultsUrl: _json.containsKey('resultsUrl')
            ? _json['resultsUrl'] as core.String
            : null,
        toolResultsExecution: _json.containsKey('toolResultsExecution')
            ? ToolResultsExecution.fromJson(_json['toolResultsExecution']
                as core.Map<core.String, core.dynamic>)
            : null,
        toolResultsHistory: _json.containsKey('toolResultsHistory')
            ? ToolResultsHistory.fromJson(_json['toolResultsHistory']
                as core.Map<core.String, core.dynamic>)
            : null,
      );