toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (endOffset != null) 'endOffset': endOffset!,
if (endPosition != null) 'endPosition': endPosition!,
if (startOffset != null) 'startOffset': startOffset!,
if (startPosition != null) 'startPosition': startPosition!,
};