VoltronArray.fromList constructor
VoltronArray.fromList(
- List list
Implementation
VoltronArray.fromList(List list) {
for (final value in list) {
if (value is Map) {
push(VoltronMap.fromMap(value));
} else if (value is List) {
push(VoltronArray.fromList(value));
} else {
push(value);
}
}
}