SingleTypeKeyInfoSum.fromJson constructor

SingleTypeKeyInfoSum.fromJson(
  1. Map<String, dynamic> json
)

Implementation

SingleTypeKeyInfoSum.fromJson(Map<String, dynamic> json) {
  typeKey = json['typeKey'];
  counter = json['counter'];
  infoList = json['infoList'] == null
      ? null
      : (json['infoList'] as List)
          .map((e) => UserExInfo.fromJson(e))
          .toList();
  isContainSelf = json['isContainSelf'];
}