按路径与原因比较警告。
@override bool operator ==(Object other) => other is LuckyCanvasCompatWarning && path == other.path && message == other.message;