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