toListModel method
Implementation
bool toListModel(TransformJson serializer, dynamic l) {
if (l != null && l is List) {
list = l.map((e) => (serializer(e) as T)).toList();
return true;
} else {
return false;
}
}
bool toListModel(TransformJson serializer, dynamic l) {
if (l != null && l is List) {
list = l.map((e) => (serializer(e) as T)).toList();
return true;
} else {
return false;
}
}