toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var approver = this.approver;
  var approverDecision = this.approverDecision;

  final json = <String, Object?>{};
  if (approver != null) {
    json[r'approver'] = approver.toJson();
  }
  if (approverDecision != null) {
    json[r'approverDecision'] = approverDecision.value;
  }
  return json;
}