ExportAssetsRequest.fromJson constructor

ExportAssetsRequest.fromJson(
  1. Map json_
)

Implementation

ExportAssetsRequest.fromJson(core.Map json_)
    : this(
        assetTypes: json_.containsKey('assetTypes')
            ? (json_['assetTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        contentType: json_.containsKey('contentType')
            ? json_['contentType'] as core.String
            : null,
        outputConfig: json_.containsKey('outputConfig')
            ? OutputConfig.fromJson(
                json_['outputConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        readTime: json_.containsKey('readTime')
            ? json_['readTime'] as core.String
            : null,
        relationshipTypes: json_.containsKey('relationshipTypes')
            ? (json_['relationshipTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );