differenceInMinutes method

int? differenceInMinutes(
  1. TimeOfDay? other
)

Get difference in minutes between two nullable TimeOfDay instances

Implementation

int? differenceInMinutes(TimeOfDay? other) {
  if (this != null && other != null) {
    return this!.differenceInMinutes(other);
  }
  return null;
}