decode abstract 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
T? decode(dynamic json, NyResponse response, Map<Type, dynamic> decoders);