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