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