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