decodeJsonTree abstract method

T decodeJsonTree(
  1. Object? json
)

Converts json (any JSON tree) to an instance of T.

Throws ArgumentError if the JSON does not match.

Implementation

T decodeJsonTree(Object? json);