AttributeEditor class
Editor for attributes.
Constructors
- AttributeEditor(String type, MethodChannel channel)
Properties
- channel → MethodChannel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
operations
→ List<
Map< String, dynamic> > -
The attribute operation list.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The attribute type, if available.
final
Methods
-
apply(
) → Future< void> - Applies the attribute operations.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAttribute(
String name) → void - Removes an attribute.
-
setAttribute(
String name, String value) → void - Adds a text attribute.
-
setDateAttribute(
String name, DateTime value) → void - Adds a date attribute.
-
setNumberAttribute(
String name, num value) → void - Adds a number attribute.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- ATTRIBUTE_OPERATION_KEY → const String
- ATTRIBUTE_OPERATION_REMOVE → const String
- ATTRIBUTE_OPERATION_SET → const String
- ATTRIBUTE_OPERATION_TYPE → const String
- ATTRIBUTE_OPERATION_VALUE → const String
- ATTRIBUTE_OPERATION_VALUE_TYPE → const String