operator == method
按字段值比较,列表按内容比较。
Implementation
@override
bool operator ==(Object other) =>
other is CapsuleOptions &&
other.globeRadiusFactor == globeRadiusFactor &&
other.capsuleRadiusFactor == capsuleRadiusFactor &&
other.dropTime == dropTime &&
other.revealTime == revealTime &&
other.revealOnSettle == revealOnSettle &&
other.motion == motion &&
other.physics == physics;