when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult invalidEmailAddress(
- T failedValue
- required TResult invalidPhoneNumber(
- T failedValue
- required TResult emailAddressMustNotBeNull(
- T failedValue
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(T failedValue) invalidEmailAddress,
required TResult Function(T failedValue) invalidPhoneNumber,
required TResult Function(T failedValue) emailAddressMustNotBeNull,
}) =>
throw _privateConstructorUsedError;