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