removeAt method
Removes the byte at the specified index.
Returns the removed byte.
Example:
final bytes = Byte.fromList([1, 2, 3, 4]);
final removed = bytes.removeAt(1);
print(removed); // 2
print(bytes.toList()); // [1, 3, 4]
Throws RangeError if index is invalid.
Implementation
int removeAt(int index) {
return _bytes.removeAt(index);
}