Map<String, Object?> toJson() { var status = this.status; final json = <String, Object?>{}; json[r'status'] = status.value; return json; }