SanitizationMiddleware class
String sanitization middleware.
- Inheritance
-
- Object
- SignalMiddleware<
String> - SanitizationMiddleware
Constructors
- SanitizationMiddleware({bool trimWhitespace = true, int? maxLength, bool toLowerCase = false, bool toUpperCase = false})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxLength → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toLowerCase → bool
-
final
- toUpperCase → bool
-
final
- trimWhitespace → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
process(
String oldValue, String newValue) → String -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited