isSameTimeZone method

bool isSameTimeZone(
  1. DateTime? other
)

Implementation

bool isSameTimeZone(DateTime? other) {
  if (this == null || other == null) return false;
  return this!.timeZoneName == other.timeZoneName;
}