toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = Map<String, dynamic>();
  data['typeKey'] = this.typeKey;
  data['counter'] = this.counter;
  data['infoList'] = this.infoList?.map((e) => e.toJson()).toList();
  data['isContainSelf'] = this.isContainSelf;
  return data;
}