FastSettingsDescriptor class

A FastDescriptor that describes the settings available in the Fastyle Settings package.

The FastSettingsDescriptor class contains a map of FastSettingsCategoryDescriptor objects, which describe the different categories of settings available to the user.

The FastSettingsDescriptor class provides methods for cloning, copying, and merging instances of itself, as well as a list of props that can be used to compare instances of the class.

Inheritance
  • Object
  • TModel
  • FastDescriptor
  • FastSettingsDescriptor

Constructors

FastSettingsDescriptor({Map<String, FastSettingsCategoryDescriptor> categories = kDefaultFastSettingsCategories})
Creates a new FastSettingsDescriptor instance.
const

Properties

categories Map<String, FastSettingsCategoryDescriptor>
Whether to show the default value settings category.
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
Returns a list of properties that can be used to compare instances of this class.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

assignValue<T>(T? value, {T? defaultValue, bool loose = true}) → T?
inherited
clone() FastSettingsDescriptor
Creates a new FastSettingsDescriptor instance that is a copy of this instance.
override
copyWith({Map<String, FastSettingsCategoryDescriptor>? categories}) FastSettingsDescriptor
Creates a copy of this FastSettingsDescriptor instance.
override
copyWithDefaults() → TModel
inherited
merge(covariant FastSettingsDescriptor model) FastSettingsDescriptor
Merges this FastSettingsDescriptor instance with another instance of the same class.
override
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