RepositoryPreset class

Predefined repository configuration preset profile.

Constructors

RepositoryPreset({required String id, required String name, required String description, required RepositoryOptions options})
Creates a RepositoryPreset instance.
const

Properties

description → String
Description of the preset workflow.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier of the preset.
final
name → String
Display name of the preset profile.
final
options → RepositoryOptions
Default flags and values associated with this profile.
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
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

presets → Map<String, RepositoryPreset>
All supported repository preset profiles.
final

Static Methods

resolve(String presetId) → RepositoryPreset
Resolves a RepositoryPreset by presetId. Returns standard if not found.

Constants

maintainer → const RepositoryPreset
Advanced maintainer repository preset.
minimal → const RepositoryPreset
Minimal repository preset (README, LICENSE, gitignore only).
openSource → const RepositoryPreset
Open-source Flutter package preset.
standard → const RepositoryPreset
Standard Flutter/Dart package repository preset.