toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final status = this.status;
  final summary = this.summary;
  return {
    'status': status.toValue(),
    'summary': summary,
  };
}