ParameterKind enum

ParameterKind

enum { OPTIONAL_NAMED OPTIONAL_POSITIONAL REQUIRED_NAMED REQUIRED_POSITIONAL }

Clients may not extend, implement or mix-in this class.

Inheritance
Available extensions

Values

OPTIONAL_NAMED → const ParameterKind

An optional named parameter.

OPTIONAL_POSITIONAL → const ParameterKind

An optional positional parameter.

REQUIRED_NAMED → const ParameterKind

A required named parameter.

REQUIRED_POSITIONAL → const ParameterKind

A required positional parameter.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
toJson({ClientUriConverter? clientUriConverter}) String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ParameterKind>
A constant List of the values in this enum, in order of their declaration.