toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final relatedRequirements = this.relatedRequirements;
  final status = this.status;
  final statusReasons = this.statusReasons;
  return {
    if (relatedRequirements != null)
      'RelatedRequirements': relatedRequirements,
    if (status != null) 'Status': status.toValue(),
    if (statusReasons != null) 'StatusReasons': statusReasons,
  };
}