decode method

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

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

@override
decode(String value, int pgType, {String? connectionName})
=> decodeValue(value, pgType, connectionName: connectionName);