differenceMs property

int get differenceMs

The difference of both date times in miliseconds.

The value may be negative.

Implementation

int get differenceMs => differenceInDuration.inMilliseconds;