decode<T> static method

T decode<T>(
  1. Object? value, {
  2. Decodable<T>? using,
  3. bool isHumanReadable = true,
  4. List<CustomTypeDelegate> customTypes = const [],
})

Implementation

static T decode<T>(
  Object? value, {
  Decodable<T>? using,
  bool isHumanReadable = true,
  List<CustomTypeDelegate> customTypes = const [],
}) {
  return StandardDecoder._(value, isHumanReadable, customTypes).decodeObject(using: using);
}