differenceMs property

int differenceMs

The difference of both date times in miliseconds.

The value may be negative.

Implementation

int get differenceMs => differenceInDuration.inMilliseconds;