decode abstract method

T? decode(
  1. dynamic json,
  2. NyResponse response,
  3. Map<Type, dynamic> decoders
)

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);