OrganizationSettings.fromJson constructor

OrganizationSettings.fromJson(
  1. Map json_
)

Implementation

OrganizationSettings.fromJson(core.Map json_)
    : this(
        assetDiscoveryConfig: json_.containsKey('assetDiscoveryConfig')
            ? AssetDiscoveryConfig.fromJson(json_['assetDiscoveryConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        enableAssetDiscovery: json_.containsKey('enableAssetDiscovery')
            ? json_['enableAssetDiscovery'] as core.bool
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );