copyWith method
FastSettingsDescriptor
copyWith({
- Map<
String, FastSettingsCategoryDescriptor> ? categories,
override
Creates a copy of this FastSettingsDescriptor instance.
The categories
parameter is an optional map of
FastSettingsCategoryDescriptor objects that describe the different
categories of settings available to the user. If no categories are
provided, the categories of this instance are used.
Implementation
@override
FastSettingsDescriptor copyWith({
Map<String, FastSettingsCategoryDescriptor>? categories,
}) {
return FastSettingsDescriptor(
categories: categories ?? this.categories,
);
}