SharedArrayBuffer constructor Null safety
- [int? length]
Implementation
factory SharedArrayBuffer([int? length]) {
if (length != null) {
return SharedArrayBuffer._create_1(length);
}
return SharedArrayBuffer._create_2();
}
factory SharedArrayBuffer([int? length]) {
if (length != null) {
return SharedArrayBuffer._create_1(length);
}
return SharedArrayBuffer._create_2();
}