ReposConfig class

Constructors

ReposConfig({String? checkoutRoot, CheckoutMode defaultMode = CheckoutMode.published, String? defaultRef, String? defaultBase, Map<String, PackageCheckoutConfig> sources = const {}})
const
ReposConfig.fromYaml(Map<Object?, Object?> yaml)
factory
ReposConfig.read(String yamlPath)
factory

Properties

checkoutRoot String?
final
defaultBase String?
final
defaultMode CheckoutMode
final
defaultRef String?
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sources Map<String, PackageCheckoutConfig>
final
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter

Methods

copyWith({Map<String, PackageCheckoutConfig>? sources, String? checkoutRoot, CheckoutMode? defaultMode, String? defaultRef, String? defaultBase}) ReposConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

empty → const ReposConfig