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