discontinuedPackage analysis_server_client has been discontinued.

ParameterKind class

ParameterKind

enum { OPTIONAL_NAMED OPTIONAL_POSITIONAL REQUIRED_NAMED REQUIRED_POSITIONAL }

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

Implemented types

Constructors

ParameterKind(String name)
factory
ParameterKind.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The name of the enumerated value. This should match the name of the static getter which provides access to this enumerated value.
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
toJson() → String
toString() → String
A string representation of this object.
override

Operators

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

Constants

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.
VALUES → const List<ParameterKind>
A list containing all of the enum values that are defined.