json2entity library

Classes

Clazz
A helper class that parse json strings to classes. Clazz represents an entity class
Director
JsonSerializableClazz

Functions

camel2dash(String k) String
驼峰转dash
capitalize(String k) String
将首字母大写
getType(dynamic v) → dynamic
获取类型v的类型,对应于json的六种类型
hasValue(dynamic value) → dynamic
True if value == null or value has no data.
isUpperAZ(int c) bool
Determine whether ASCII corresponding to an integer value is a capital letter?
printWhen(dynamic info, dynamic b) → dynamic
Print info when b is true.