fromJsonAsT<M> static method
M
fromJsonAsT<M>(
- dynamic json
Implementation
static M fromJsonAsT<M>(json) {
if (json is List) {
return _getListChildType<M>(json);
} else {
return _fromJsonSingle<M>(json) as M;
}
}