Json2Dart class Null safety

Constructors

Json2Dart()
factory

Properties

callBack ↔ (dynamic Function?(String)?)
read / write
detailCallBack ↔ (dynamic Function?(String method, String key, Map? map)?)
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addCallback(dynamic callBack(String)) → void
添加报错回调
addDetailCallback(dynamic callBack(String method, String key, Map? map)) → void
添加报错回调,详细的解析方式跟map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance Json2Dart
read-only