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