decode method Null safety

S decode (
  1. T encoded
)

Decodes encoded data.

The input is decoded as if by decoder.convert.

Implementation

S decode(T encoded) => decoder.convert(encoded);