ChangesConfig class

A project's ranking rules for the changes screen.

Constructors

ChangesConfig({List<String> attention = const [], String? base})
const

Properties

attention → List<String>
Paths worth looking at first, as globs — the changes screen's Important tab. Each pinned row names the pattern that pinned it, so precedence is inspectable rather than magic.
final
base → String?
The branch the delta is measured from.
final
hashCode → int
The hash code for this object.
no setteroverride
isEmpty → bool
no setter
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
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, Object?> json) → ChangesConfig
Tolerant of everything except a wrong shape. This is read back from a cache file that a previous version of flutterware wrote, so an entry that is not a string is dropped rather than thrown on — the alternative is a screen that refuses to rank because one list had a number in it.