toJson method

Map<String, dynamic> toJson()

Implementation

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