operator == method

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

按槽位、图片项、provider 与目标尺寸比较请求。

Implementation

@override
bool operator ==(Object other) =>
    other is LuckyImageRequest &&
    other.slot == slot &&
    other.image == image &&
    other.provider == provider &&
    other.decodeLogicalWidth == decodeLogicalWidth &&
    other.decodeLogicalHeight == decodeLogicalHeight;