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