ServerParam class
- Mixed-in types
Constructors
- ServerParam({required String name, required ServerType type, bool isRequired = false, bool isNamed = false, String? defaultValue, bool hasDefaultValue = false, ServerImports? importPath, ServerParamAnnotations? annotations, AnnotationArgument? argument})
- ServerParam.fromElement(FormalParameterElement element)
-
factory
- ServerParam.fromMeta(MetaParam param)
-
factory
Properties
- annotations → ServerParamAnnotations
-
final
- argument ↔ AnnotationArgument?
-
getter/setter pair
- defaultValue → String?
-
final
-
extractors
→ List<
ExtractImport?> -
no setteroverride
- hasArgument → bool
-
no setter
- hasDefaultValue → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- importPath → ServerImports?
-
final
-
imports
→ List<
ServerImports?> -
no setteroverride
- isNamed → bool
-
final
- isRequired → bool
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ServerType
-
final
- typeImport → ServerImports?
-
no setter
Methods
-
copyWith(
{bool? isNamed, bool? isRequired, AnnotationArgument? argument}) → ServerParam -
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