difference method Null safety

Duration difference(
  1. HijriDateTime other
)

Returns a Duration with the difference when subtracting other from this.

The returned Duration will be negative if other occurs after this.

Implementation

Duration difference(HijriDateTime other) {
  return _date.difference(other._date);
}