decode abstract method

Object? decode(
  1. String value,
  2. int pgType, {
  3. String? connectionName,
})

Convert a string recieved from the database into a dart object. Null if it decodes to null, e.g. the json scalar null (a SQL null never gets here).

Implementation

Object? decode(String value, int pgType, {String? connectionName});