decode<T> method

T decode<T>(
  1. dynamic value
)

Implementation

T decode<T>(dynamic value) {
  if (value is StringOrEncoded) value = value.decode<T>();
  return codec != null ? codec!.decode(value) : value as T;
}