ClientParam class

Mixed-in types

Constructors

ClientParam({required String name, required ParameterPosition position, required ClientType type, required List<String> access, required bool acceptMultiple, required bool hasDefaultValue})

Properties

acceptMultiple → bool
final
access → List<String>
final
extractors → List<ExtractImport?>
no setteroverride
hasDefaultValue → bool
final
hashCode → int
The hash code for this object.
no setterinherited
imports → List<ClientImports?>
no setteroverride
name → String
final
position → ParameterPosition
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → ClientType
final

Methods

changeType(ClientType type) → ClientParam
conflictsWithClientParam(ClientParam other) → bool
matchesBinding(ClientParam other) → bool
matchesClientSignature(ClientParam other) → bool
Whether two params would produce the same named argument on the client.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
packageImports() → Iterable<String>
inherited
pathImports() → Iterable<String>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromElement(FormalParameterElement element, {Map<String, DartType> typeSubstitutions = const {}}) → ClientParam?
fromMeta(MetaParam parameter) → ClientParam?
fromMetas(Iterable<MetaParam> params) → List<ClientParam>