当类型断言失败时,Error被运行时系统抛出。
- Inheritance
- Object
- Error
- AssertionError
- TypeError
Constructors
Properties
- hashCode → int
-
获取对象的哈希值。
read-only, inherited - runtimeType → Type
-
表示对象的运行时类型。
read-only, inherited - stackTrace → StackTrace
-
堆栈轨迹。
read-only, inherited
Operators
-
operator ==(
other) → bool -
相等操作符。
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
当一个不存在的函数或成员变量被访问时,该函数被调用。
inherited -
toString(
) → String -
返回一个用来表示对象的字符串。
inherited