fromJsonAsT<M> static method
M?
fromJsonAsT<M>(
- dynamic json
Implementation
static M? fromJsonAsT<M>(dynamic json) {
if (json is List) {
return _getListChildType<M>(json.map((e) => e as Map<String, dynamic>).toList());
} else {
return jsonConvert.asT<M>(json);
}
}