operator == method

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

Compares two ScreenInfoData objects for equality.

Implementation

@override
bool operator ==(Object other) =>
    identical(this, other) ||
    other is ScreenInfoData &&
        runtimeType == other.runtimeType &&
        screenSizeInInches == other.screenSizeInInches &&
        screenResolution == other.screenResolution &&
        dpi == other.dpi;