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