DVStudioProperty class
Constructors
-
DVStudioProperty(String name, DVStudioPropertyKind kind, DVModifier? apply(DVModifier modifier, Object? value, Map<
String, Object?> properties), {required String? source(Object? value, Map<String, Object?> properties), List<String> choices = const <String>[], String? companionOf}) -
const
Properties
-
apply
→ DVModifier? Function(DVModifier modifier, Object? value, Map<
String, Object?> properties) -
Applies this property's
valuetomodifier. Returns null when the value is missing or unusable, so a typo renders unstyled rather than guessed at.final -
choices
→ List<
String> -
The accepted values, for DVStudioPropertyKind.choice.
final
- companionOf → String?
-
The property this one is part of, when a style is one decision made of
two values.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → DVStudioPropertyKind
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
source
→ String? Function(Object? value, Map<
String, Object?> properties) -
The modifier call an export writes for
value, or null when there is nothing to write.final
Methods
-
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