decode<T> method

dynamic decode<T>()

Implementation

dynamic decode<T>() {
  if (T == String || T == dynamic) {
    return encoded;
  } else {
    return decoder(encoded);
  }
}