toBytes32 method
Converts this to 32-bits bytes (Uint8List), encoding totalMilliseconds.
Implementation
Uint8List toBytes32() {
var bytes = Uint8List(4);
bytes.setInt32(totalMilliseconds, 0);
return bytes;
}
Converts this to 32-bits bytes (Uint8List), encoding totalMilliseconds.
Uint8List toBytes32() {
var bytes = Uint8List(4);
bytes.setInt32(totalMilliseconds, 0);
return bytes;
}