DecodingSettings class

Options for decoding values received from the server.

Constructors

DecodingSettings({IntervalDecoding interval = IntervalDecoding.pgInterval, ExtendedTypeDecoding extendedTypes = ExtendedTypeDecoding.objects, TimestampDecoding timestamp = TimestampDecoding.timeZoneSettings, NumericDecoding numeric = NumericDecoding.string, bool nullableArrays = false})
const

Properties

extendedTypes → ExtendedTypeDecoding
How values of the types time, timetz, inet and cidr are decoded.
final
hashCode → int
The hash code for this object.
no setterinherited
interval → IntervalDecoding
How values of type interval are decoded.
final
nullableArrays → bool
Arrays are always List<T?>. By default an array without NULL elements is a List<T> and one with NULL elements a List<T?>, so the type of the same column changes with its content.
final
numeric → NumericDecoding
How values of type numeric are decoded.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → TimestampDecoding
How values of the types timestamp and date are decoded.
final

Methods

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