Json2Dart class

Constructors

Json2Dart()
factory

Properties

callBack ↔ dynamic Function(String)?
getter/setter pair
detailCallBack ↔ dynamic Function(String method, String key, Map? map)?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCallback(dynamic callBack(String)) → void
添加报错回调
addDetailCallback(dynamic callBack(String method, String key, Map? map)) → void
添加报错回调,详细的解析方式跟map
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

Static Properties

instance Json2Dart
no setter