nextDecode<T> function

T nextDecode<T>(
  1. dynamic json,
  2. String key
)

Decode to json 2nd time because consuming SOAP api need to convert for second time.

Implementation

T nextDecode<T>(dynamic json, String key) => jsonDecode(json[key]) as T;