ListFormat enum
An enum of all available list format options.
Constructors
- ListFormat(ListFormatGenerator generator)
-
const
Values
- brackets → const ListFormat
-
Use brackets to represent list items, for example
foo[]=123&foo[]=456&foo[]=789
const ListFormat(_brackets)
- comma → const ListFormat
-
Use commas to represent list items, for example
foo=123,456,789
const ListFormat(_comma)
- repeat → const ListFormat
-
Repeat the same key to represent list items, for example
foo=123&foo=456&foo=789
const ListFormat(_repeat)
- indices → const ListFormat
-
Use indices in brackets to represent list items, for example
foo[0]=123&foo[1]=456&foo[2]=789
const ListFormat(_indices)
Properties
- generator → ListFormatGenerator
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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 other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ListFormat> - A constant List of the values in this enum, in order of their declaration.