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