SourceContext class Null safety

A SourceContext is a reference to a tree of files.

A SourceContext together with a path point to a unique revision of a single file or directory.


SourceContext({CloudRepoSourceContext? cloudRepo, CloudWorkspaceSourceContext? cloudWorkspace, GerritSourceContext? gerrit, GitSourceContext? git})
SourceContext.fromJson(Map _json)


cloudRepo CloudRepoSourceContext?
A SourceContext referring to a revision in a cloud repo.
read / write
cloudWorkspace CloudWorkspaceSourceContext?
A SourceContext referring to a snapshot in a cloud workspace.
read / write
gerrit GerritSourceContext?
A SourceContext referring to a Gerrit project.
read / write
git GitSourceContext?
A SourceContext referring to any third party Git repo (e.g. GitHub).
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]