ListFormat enum

An enum of all available list format options.

This is a wrapper around the qs.ListFormat enum.

Inheritance

Constructors

ListFormat(ListFormat qsListFormat)
const

Values

brackets → const ListFormat

Use brackets to represent list items, for example foo[]=123&foo[]=456&foo[]=789

const ListFormat(qs.ListFormat.brackets)
comma → const ListFormat

Use commas to represent list items, for example foo=123,456,789

const ListFormat(qs.ListFormat.comma)
repeat → const ListFormat

Repeat the same key to represent list items, for example foo=123&foo=456&foo=789

const ListFormat(qs.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(qs.ListFormat.indices)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
qsListFormat → ListFormat
final
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.