decodeJsonTree method
Converts json
(any JSON tree) to an instance of T
.
Throws ArgumentError if the JSON does not match.
Implementation
@override
T decodeJsonTree(Object? json) {
final built = builtKind.decodeJsonTree(json);
return instanceFromBuiltKind(built);
}