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