isHumanReadable method

  1. @override
bool isHumanReadable()
override

Whether a Decodable implementation should expect to decode their human-readable form.

Some types have a human-readable form that may be somewhat expensive to construct, as well as a more compact and efficient form. Generally text-based formats like JSON and YAML will prefer to use the human-readable one and binary formats like MessagePack will prefer the compact one.

Implementation

@override
bool isHumanReadable() {
  return false;
}