TimeDifference constructor

const TimeDifference({
  1. required int value,
  2. required LitTimeUnit unit,
})

Creates a TimeDifference.

Implementation

const TimeDifference({
  required this.value,
  required this.unit,
});