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