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