GitHubRepoConfig class
Represents a single GitHub repository configuration for Mason bricks.
Constructors
- GitHubRepoConfig({required String name, required String githubUrl, String? authToken})
- Creates a new GitHubRepoConfig instance.
-
GitHubRepoConfig.fromMap(Map<
String, dynamic> map) -
Creates a GitHubRepoConfig from a map (typically from TOML config).
factory
Properties
- authToken → String?
-
Optional authentication token for private repositories.
final
- githubUrl → String
-
The GitHub URL of the repository containing Mason bricks.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isValid → bool
-
Returns true if this repo config has valid required fields.
no setter
- name → String
-
The display name for this repository.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited