ReorderConfig class
A resource's drag-to-reorder capability (P18) — present on
ResourceSchema.reorder if and only if the web panel's table declared a
non-pivot reorder column and authorized this user for it. See
contract/README.md's "Reordering" section for the full server contract.
Constructors
- ReorderConfig({required String column, required String direction})
-
const
Properties
- column → String
-
final
- direction → String
-
ascordesc— see ResourceSort.direction's doc for why this is a closed set rather than an arbitrary string.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? value) → ReorderConfig? -
Parses
json['reorder']leniently, unlike object/req: a malformed value (wrong type entirely, or a map missing a stringcolumn) reads as "this resource cannot be reordered" rather than throwing a SchemaFormatException that would blank the whole resource. Dropping a mobile-only affordance is a safe degrade; refusing to parse the rest of the schema over it is not.