LuckyCanvasCompatWarning class final

迁移诊断;path 使用 prizes[2].fonts[0].fontSize 形式的字段路径。

Annotations

Constructors

LuckyCanvasCompatWarning(String path, String message)
创建指定字段路径和中文说明的警告。
const

Properties

hashCode → int
与警告相等性一致的哈希。
no setteroverride
message → String
可读的警告原因。
final
path → String
上游配置字段路径。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? path, String? message}) → LuckyCanvasCompatWarning
返回替换非 null 参数的警告副本。
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
返回包含路径与原因的诊断文本。
override

Operators

operator ==(Object other) → bool
按路径与原因比较警告。
override