read method

  1. @override
DartT read(
  1. SqlTypes types,
  2. Object fromSql
)

Interprets the underlying fromSql value from the database driver into the Dart representation T of this type.

Implementation

@override
DartT read(SqlTypes types, Object fromSql) {
  return codec.decode(fromSql as SQLType);
}