maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult valueObject(
- ValueObjectKind valueObjectKind
- TResult entity(
- EntityKind entityKind
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(ValueObjectKind valueObjectKind)? valueObject,
TResult Function(EntityKind entityKind)? entity,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;