operator == method

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

Compares this BarcodeData instance with another object.

Returns true if the other object is a BarcodeData instance and both data and type are equal, otherwise returns false.

Implementation

@override
bool operator ==(Object other) =>
    identical(this, other) ||
    other is BarcodeData &&
        runtimeType == other.runtimeType &&
        type == other.type &&
        data == other.data;