Capability class
Describes a capability
Constructors
- Capability.new(String name)
Properties
-
attributes
→ Map<
String, dynamic> -
Holds all values that should be serialized.
Can either be generated upon demand or used all the time.
Example for using attributes as the data store:
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
getter/setter pair
-
objectCreators
→ Map<
String, dynamic Function(Map< String, dynamic> ?)> -
Define functions that create new complex serializable or Map instances for nested objects.
You can evaluate the provided map value to select a specific subclass, if needed.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transformers
→ Map<
String, dynamic Function(dynamic)> -
Define any transformations for values.
You can transform an enumeration to an int and the other way round:
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object o) → bool -
The equality operator.
override