operator == method

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

按所有配置字段比较。

Implementation

@override
bool operator ==(Object other) =>
    other is GridConfig &&
    other.rows == rows &&
    other.cols == cols &&
    listEquals(other.blocks, blocks) &&
    listEquals(other.prizes, prizes) &&
    listEquals(other.buttons, buttons) &&
    other.options == options &&
    other.style == style &&
    other.activeStyle == activeStyle;