toBytes method

Uint8List toBytes()

Implementation

Uint8List toBytes() {
  return Uint8List.fromList([min((year - 1900), 255), month, day]);
}