ParseIntPipe class

Represents an integer parsing pipe.

Inheritance

Constructors

ParseIntPipe(String key, {required PipeBindingType bindingType, SerinusException onError(String key)?})
Creates a new instance of ParseIntPipe.

Properties

bindingType PipeBindingType
The binding type of the pipe.
final
hashCode int
The hash code for this object.
no setterinherited
key String
The key to look for in the request.
final
onError SerinusException Function(String key)?
Function to handle errors during parsing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transform(ExecutionContext<ArgumentsHost> context) Future<void>
Transform and validate the input data
override

Operators

operator ==(Object other) bool
The equality operator.
inherited