toBytes32 method

Uint8List toBytes32()

Converts this to 32-bits bytes (Uint8List), encoding totalMilliseconds.

Implementation

Uint8List toBytes32() {
  var bytes = Uint8List(4);
  bytes.setInt32(totalMilliseconds, 0);
  return bytes;
}