CloudRepoSourceContext.fromJson constructor

CloudRepoSourceContext.fromJson(
  1. Map json_
)

Implementation

CloudRepoSourceContext.fromJson(core.Map json_)
    : this(
        aliasContext: json_.containsKey('aliasContext')
            ? AliasContext.fromJson(
                json_['aliasContext'] as core.Map<core.String, core.dynamic>)
            : null,
        repoId: json_.containsKey('repoId')
            ? RepoId.fromJson(
                json_['repoId'] as core.Map<core.String, core.dynamic>)
            : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
      );