CustomField class
This class models a reference to a custom field.
- Implemented types
- Annotations
Constructors
- CustomField({required String content, required String label})
-
A reference to a custom field.
const
-
CustomField.fromMap(Map<
String, dynamic> map) -
Creates a
CustomField
instance starting from aMap<String, dynamic> map
.
Properties
- content → String
-
The content of this field.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String
-
The label of this field. It is useful for distinguishing different custom
fields.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareTo(
covariant CustomField other) → int -
The order of the comparisons is:
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Creates a
Map<String, dynamic> map
representation of this instance. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator <(
covariant CustomField other) → bool -
Returns if this instance is less than the
other
. -
operator <=(
covariant CustomField other) → bool -
Return if this instance is less than or equal to the
other
. -
operator ==(
covariant CustomField other) → bool -
The equality operator.
override
-
operator >(
covariant CustomField other) → bool -
Return if this instance is greater than the
other
. -
operator >=(
covariant CustomField other) → bool -
Return if this instance is greater than or equal to the
other
.