decode method
Decodes json into a T.
response is the response being decoded and decoders is the map
this decoder was found in, so it can hand off to other decoders.
Implementation
@override
T? decode(dynamic json, NyResponse response, Map<Type, dynamic> decoders) =>
resolve(json, response);