equals method Null safety

bool equals (
  1. UuidValue other
)

Implementation

bool equals(UuidValue other) {
  return uuid == other.uuid;
}