Converter abstract class
A Converter converts data from one representation into another.
It is recommended that implementations of Converter
extend this class, to inherit any further methods that may be added to the class.
- Implements
-
- StreamTransformer<S, T>
- Implemented by
Constructors
- Converter() const
Properties
- hashCode → int read-only, inherited
-
The hash code for this object.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- bind(
Stream<S> stream) → Stream<T> -
Transforms the provided
stream
. - convert(
S input) → T -
Converts
input
and returns the result of the conversion. - fuse<TT>(
Converter<T, TT> other) → Converter<S, TT> -
Fuses
this
withother
. - startChunkedConversion(
Sink sink) → Sink -
Starts a chunked conversion.
- noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
- toString(
) → String inherited -
Returns a string representation of this object.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-convert/Converter-class.html