AssetDiscoveryConfig.fromJson constructor

AssetDiscoveryConfig.fromJson(
  1. Map json_
)

Implementation

AssetDiscoveryConfig.fromJson(core.Map json_)
    : this(
        folderIds: json_.containsKey('folderIds')
            ? (json_['folderIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        inclusionMode: json_.containsKey('inclusionMode')
            ? json_['inclusionMode'] as core.String
            : null,
        projectIds: json_.containsKey('projectIds')
            ? (json_['projectIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );