Source.fromJson constructor

Source.fromJson(
  1. Map json_
)

Implementation

Source.fromJson(core.Map json_)
    : this(
        gitUri: json_.containsKey('gitUri')
            ? json_['gitUri'] as core.String
            : 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,
      );