ParameterTypeInfo class
Holds information about the type of a member parameter of a Modddel.
- Implementers
- Annotations
-
- @freezed
Constructors
- ParameterTypeInfo.iterable({required TransformedType nonNullable, required TransformedType nullable, required TransformedType valid, required String modddelType})
-
This is the type info of the member parameter of an IterableEntity.
constfactory
- ParameterTypeInfo.iterable2({required TransformedTypeIter2 nonNullable, required TransformedTypeIter2 nullable, required TransformedTypeIter2 valid, required String modddel1Type, required String modddel2Type})
-
This is the type info of the member parameter of an
Iterable2Entity
.constfactory - ParameterTypeInfo.normal({required TransformedType nonNullable, required TransformedType nullable, required TransformedType valid})
-
This is the type info of a member parameter of a ValueObject or
SimpleEntity. This kind of member parameters is "normal", meaning that
it is not a collection of other modddels.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- nonNullable → TransformedType
-
no setterinherited
- nullable → TransformedType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valid → TransformedType
-
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult normal(NormalParameterTypeInfo value), required TResult iterable(IterableParameterTypeInfo value), required TResult iterable2(Iterable2ParameterTypeInfo value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? normal(NormalParameterTypeInfo value)?, TResult? iterable(IterableParameterTypeInfo value)?, TResult? iterable2(Iterable2ParameterTypeInfo value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult normal(NormalParameterTypeInfo value)?, TResult iterable(IterableParameterTypeInfo value)?, TResult iterable2(Iterable2ParameterTypeInfo value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult normal(TransformedType nonNullable, TransformedType nullable, TransformedType valid)?, TResult iterable(TransformedType nonNullable, TransformedType nullable, TransformedType valid, String modddelType)?, TResult iterable2(TransformedTypeIter2 nonNullable, TransformedTypeIter2 nullable, TransformedTypeIter2 valid, String modddel1Type, String modddel2Type)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult normal(TransformedType nonNullable, TransformedType nullable, TransformedType valid), required TResult iterable(TransformedType nonNullable, TransformedType nullable, TransformedType valid, String modddelType), required TResult iterable2(TransformedTypeIter2 nonNullable, TransformedTypeIter2 nullable, TransformedTypeIter2 valid, String modddel1Type, String modddel2Type)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? normal(TransformedType nonNullable, TransformedType nullable, TransformedType valid)?, TResult? iterable(TransformedType nonNullable, TransformedType nullable, TransformedType valid, String modddelType)?, TResult? iterable2(TransformedTypeIter2 nonNullable, TransformedTypeIter2 nullable, TransformedTypeIter2 valid, String modddel1Type, String modddel2Type)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited