toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.base_ != null) {
    json[r'base'] = this.base_;
  } else {
    json[r'base'] = null;
  }
  if (this.tax != null) {
    json[r'tax'] = this.tax;
  } else {
    json[r'tax'] = null;
  }
  return json;
}