toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (policyId != null) {
_json['policyId'] = policyId;
}
if (outcome != null) {
_json['outcome'] = v1OutcomeToJson(outcome!);
}
return _json;
}