MetadataOverrides class
Constructors
-
MetadataOverrides({String? label, String? addLabel, String? editLabel, String? pluralLabel, bool? isDisabled, Map<
JsonPath, List< ? formConfig = const {}, String? category, Set<MetaFieldConfig> >JsonPath> ? ignoredPaths = const {}, Map<JsonPath, String> labels = const {}, Map<JsonPath, MetaDateFormatter> ? metaDateFormatters = const {}, Map<JsonPath, String> placeholders = const {}, List<JsonPath> sortOrder = const []}) -
const
-
MetadataOverrides.coerced({String? label, String? editLabel, String? pluralLabel, bool? isDisabled, String? addLabel, String? category, Map<
JsonPath, List< ? formConfig, Map<MetaFieldConfig> >JsonPath, MetaDateFormatter> ? metaDateFormatters, Set<JsonPath> ? ignoredPaths = const {}, Map<dynamic, String> ? labels, Map<dynamic, String> ? placeholders, Iterable? sortOrder}) - MetadataOverrides.empty()
-
const
Properties
- addLabel → String?
-
final
- category → String?
-
final
- editLabel → String?
-
final
-
formConfig
→ Map<
JsonPath, List< ?MetaFieldConfig> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoredPaths
→ Set<
JsonPath> ? -
final
- isDisabled → bool?
-
final
- label → String?
-
final
-
labels
→ Map<
JsonPath, String> -
final
-
metaDateFormatters
→ Map<
JsonPath, MetaDateFormatter> ? -
final
-
placeholders
→ Map<
JsonPath, String> -
final
- pluralLabel → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sortOrder
→ List<
JsonPath> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveLabel(
JsonPath property, {String? fallback}) → String? -
resolvePlaceholder(
JsonPath property, {String? fallback}) → String? -
sortProperties(
Iterable< JsonPath> source) → List<JsonPath> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator +(
MetadataOverrides? other) → MetadataOverrides -
operator ==(
Object other) → bool -
The equality operator.
inherited