getTotalMinutes property

int getTotalMinutes

Returns total minutes this date is pointing at. if DateTime object is, DateTime(2021, 5, 13, 12, 4, 5) Then this getter will return 12*60 + 4 which evaluates to 724.

Implementation

int get getTotalMinutes => hour * 60 + minute;