writeArray method
Implementation
void writeArray(List<dynamic>? array) {
if (array == null) {
writeNil();
return;
}
writeArrayHeader(array.length);
for (dynamic item in array) {
write(item);
}
}
void writeArray(List<dynamic>? array) {
if (array == null) {
writeNil();
return;
}
writeArrayHeader(array.length);
for (dynamic item in array) {
write(item);
}
}