ValueObjectKind class
The two kinds of ValueObjects : SingleValueObjects and MultiValueObjects.
- Annotations
-
- @freezed
Constructors
- ValueObjectKind.multiValueObject()
-
constfactory
- ValueObjectKind.singleValueObject()
-
constfactory
Properties
Methods
-
map<
TResult extends Object?> ({required TResult singleValueObject(_SingleValueObject value), required TResult multiValueObject(_MultiValueObject value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? singleValueObject(_SingleValueObject value)?, TResult? multiValueObject(_MultiValueObject value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult singleValueObject(_SingleValueObject value)?, TResult multiValueObject(_MultiValueObject value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult singleValueObject()?, TResult multiValueObject()?, 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 singleValueObject(), required TResult multiValueObject()}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? singleValueObject()?, TResult? multiValueObject()?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited