ParameterInfo class

ParameterInfo

{ "kind": ParameterKind "name": String "type": String "defaultValue": optional String }

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

Constructors

ParameterInfo(ParameterKind kind, String name, String type, {String? defaultValue})
ParameterInfo.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

defaultValue String?
The default value for this parameter. This value will be omitted if the parameter does not have a default value.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
kind ParameterKind
The kind of the parameter.
getter/setter pair
name String
The name of the parameter.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of the parameter.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Returns a JSON presentation of the object.
toString() String
A string representation of this object.
override

Operators

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