toList method
Implementation
List<dynamic> toList() {
return data.map((item) {
if (item is VoltronMap) {
return item.toMap();
} else if (item is VoltronArray) {
return item.toList();
}
return item;
}).toList();
}
List<dynamic> toList() {
return data.map((item) {
if (item is VoltronMap) {
return item.toMap();
} else if (item is VoltronArray) {
return item.toList();
}
return item;
}).toList();
}