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,
      );