CsvKeyedEncoder class
- Implemented types
- Available extensions
Properties
Methods
-
canEncodeCustom<
T> () → bool -
Checks if the encoder can encode the custom type
T
.override -
encodeBool(
String key, bool value, {int? id}) → void -
Encodes a boolean value for the given key or id.
override
-
encodeBoolOrNull(
String key, bool? value, {int? id}) → void -
Encodes a nullable boolean value for the given key or id.
override
-
encodeDouble(
String key, double value, {int? id}) → void -
Encodes a double value for the given key or id.
override
-
encodeDoubleOrNull(
String key, double? value, {int? id}) → void -
Encodes a nullable double value for the given key or id.
override
-
encodeFuture<
T> (String key, Future< T> value, {Encodable<T> ? using}) → void -
Available on KeyedEncoder, provided by the AsyncKeyedEncoder extension
Encodes a Future ofT
using the provided Encodable. -
encodeFutureOrNull<
T> (String key, Future< T> ? value, {Encodable<T> ? using}) → void -
Available on KeyedEncoder, provided by the AsyncKeyedEncoder extension
Encodes a Future ofT
or null using the provided Encodable. -
encodeInt(
String key, int value, {int? id}) → void -
Encodes an integer value for the given key or id.
override
-
encodeIntOrNull(
String key, int? value, {int? id}) → void -
Encodes a nullable integer value for the given key or id.
override
-
encodeIterable<
E> (String key, Iterable< E> value, {int? id, Encodable<E> ? using}) → void -
Encodes an iterable of
E
for the given key or id.override -
encodeIterableOrNull<
E> (String key, Iterable< E> ? value, {int? id, Encodable<E> ? using}) → void -
Encodes a nullable iterable of
E
for the given key or id.override -
encodeIterated(
String key, {int? id}) → IteratedEncoder -
Starts encoding an iterated collection or nested values for the given key or id.
override
-
encodeKeyed(
String key, {int? id}) → KeyedEncoder -
Starts encoding a keyed collection or key-value pairs for the given key or id.
override
-
encodeMap<
K, V> (String key, Map< K, V> value, {int? id, Encodable<K> ? keyUsing, Encodable<V> ? valueUsing}) → void -
Encodes a map of
K
andV
for the given key or id.override -
encodeMapOrNull<
K, V> (String key, Map< K, V> ? value, {int? id, Encodable<K> ? keyUsing, Encodable<V> ? valueUsing}) → void -
Encodes a nullable map of
K
andV
for the given key or id.override -
encodeNull(
String key, {int? id}) → void -
Encodes 'null' for the given key or id.
override
-
encodeNum(
String key, num value, {int? id}) → void -
Encodes a num value for the given key or id.
override
-
encodeNumOrNull(
String key, num? value, {int? id}) → void -
Encodes a nullable num value for the given key or id.
override
-
encodeObject<
T> (String key, T value, {int? id, Encodable< T> ? using}) → void -
Encodes an object of type
T
for the given key or id.override -
encodeObjectOrNull<
T> (String key, T? value, {int? id, Encodable< T> ? using}) → void -
Encodes a nullable object of type
T
for the given key or id.override -
encodeReference<
T> (String key, T value, {Encodable< T> ? using}) → void -
Available on KeyedEncoder, provided by the ReferenceKeyedEncoder extension
Encodes a Reference ofT
using the provided Encodable. -
encodeReferenceOrNull<
T> (String key, T? value, {Encodable< T> ? using}) → void -
Available on KeyedEncoder, provided by the ReferenceKeyedEncoder extension
Encodes a Reference ofT
or null using the provided Encodable. -
encodeStream<
T> (String key, Stream< T> value, {Encodable<T> ? using}) → void -
Available on KeyedEncoder, provided by the AsyncKeyedEncoder extension
Encodes a Stream ofT
using the provided Encodable. -
encodeStreamOrNull<
T> (String key, Stream< T> ? value, {Encodable<T> ? using}) → void -
Available on KeyedEncoder, provided by the AsyncKeyedEncoder extension
Encodes a Stream ofT
or null using the provided Encodable. -
encodeString(
String key, String value, {int? id}) → void -
Encodes a string value for the given key or id.
override
-
encodeStringOrNull(
String key, String? value, {int? id}) → void -
Encodes a nullable string value for the given key or id.
override
-
end(
) → void -
Ends encoding the keyed collection.
override
-
isHumanReadable(
) → bool -
Whether a Encodable implementation should prefer to encode their human-readable form.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited