operator == method

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

比较配置、尺寸和警告内容。

Implementation

@override
bool operator ==(Object other) =>
    other is LuckyCanvasCompatResult<C> &&
    config == other.config &&
    width == other.width &&
    height == other.height &&
    listEquals(warnings, other.warnings);