maybeWhen<TResult extends Object?> method
Null safety
- {TResult lengthLimiting(
- int? maxLength,
- MaxLengthEnforcement? maxLengthEnforcement
- TResult filtering( )?,
- TResult filteringAllow( )?,
- TResult filteringDeny( )?,
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(
int? maxLength, MaxLengthEnforcement? maxLengthEnforcement)?
lengthLimiting,
TResult Function(
String filterPattern, bool allow, String replacementString)?
filtering,
TResult Function(String filterPattern, String replacementString)?
filteringAllow,
TResult Function(String filterPattern, String replacementString)?
filteringDeny,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;