Source.fromJson constructor

Source.fromJson(
  1. Map json_
)

Implementation

Source.fromJson(core.Map json_)
    : this(
        connectedRepository: json_.containsKey('connectedRepository')
            ? ConnectedRepository.fromJson(json_['connectedRepository']
                as core.Map<core.String, core.dynamic>)
            : null,
        developerConnectConfig: json_.containsKey('developerConnectConfig')
            ? DeveloperConnectConfig.fromJson(json_['developerConnectConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        gitSource: json_.containsKey('gitSource')
            ? GitSource.fromJson(
                json_['gitSource'] as core.Map<core.String, core.dynamic>)
            : null,
        repoSource: json_.containsKey('repoSource')
            ? RepoSource.fromJson(
                json_['repoSource'] as core.Map<core.String, core.dynamic>)
            : null,
        storageSource: json_.containsKey('storageSource')
            ? StorageSource.fromJson(
                json_['storageSource'] as core.Map<core.String, core.dynamic>)
            : null,
        storageSourceManifest: json_.containsKey('storageSourceManifest')
            ? StorageSourceManifest.fromJson(json_['storageSourceManifest']
                as core.Map<core.String, core.dynamic>)
            : null,
      );