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