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