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