operator == method

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

按字段值比较配置,列表按内容比较。

Implementation

@override
bool operator ==(Object other) =>
    other is SlotOptions &&
    mode == other.mode &&
    direction == other.direction &&
    rowSpacing == other.rowSpacing &&
    colSpacing == other.colSpacing &&
    cellAspectRatio == other.cellAspectRatio &&
    motion == other.motion;