equivalentTo method

  1. @override
bool equivalentTo(
  1. Data other
)
override

Returns true if the timezone of other is the same as this timezone.

Implementation

@override
bool equivalentTo(Data other) =>
    (other is Timezone) ? timezone == other.timezone : false;