Export.fromJson constructor

Export.fromJson(
  1. Map json_
)

Implementation

Export.fromJson(core.Map json_)
    : this(
        cloudStorageSink: json_.containsKey('cloudStorageSink')
            ? CloudStorageSink.fromJson(json_['cloudStorageSink']
                as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        exportOptions: json_.containsKey('exportOptions')
            ? ExportOptions.fromJson(
                json_['exportOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        matterId: json_.containsKey('matterId')
            ? json_['matterId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        parentExportId: json_.containsKey('parentExportId')
            ? json_['parentExportId'] as core.String
            : null,
        query: json_.containsKey('query')
            ? Query.fromJson(
                json_['query'] as core.Map<core.String, core.dynamic>)
            : null,
        requester: json_.containsKey('requester')
            ? UserInfo.fromJson(
                json_['requester'] as core.Map<core.String, core.dynamic>)
            : null,
        stats: json_.containsKey('stats')
            ? ExportStats.fromJson(
                json_['stats'] as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );