operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Provides equality.

Implementation

@override
bool operator ==(final Object other) {
  if (other is RandomTask) {
    return other.getDuration == getDuration && other.onTick == onTick;
  }
  return super == other;
}