toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (approvalName != null) 'approvalName': approvalName!,
      if (reason != null) 'reason': reason!,
    };