DebugMode enum

Inheritance

Constructors

DebugMode()
const

Values

self → const DebugMode

self模式 使用原生错误输出方式打印在控制台中,此模式不会捕获到更多错误在回调函数中,一般只有在定位不到错误,需要查看更完整的报错信息才开启此模式。

inConsole → const DebugMode

inConsole模式 将内置错误输出到控制台中,并且错误捕获信息类型比较多,建议开发中使用。如果错误信息还定位不到错误,然后在尝试flutter模式

none → const DebugMode

none模式 不会输出错误信息在控制台中,但会执行错误回调

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<DebugMode>
A constant List of the values in this enum, in order of their declaration.