toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'customerId'] = customerId;
  json[r'description'] = description;
  json[r'month'] = month;
  if (value != null) {
    json[r'value'] = value;
  }
  return json;
}