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