toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  if (this.increase != null) {
    data['increase'] = this.increase!.map((v) => v.toJson()).toList();
  }
  if (this.decrease != null) {
    data['decrease'] = this.decrease!.map((v) => v.toJson()).toList();
  }
  return data;
}