toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dataSourceNode != null) 'dataSourceNode': dataSourceNode!,
      if (depth != null) 'depth': depth!,
      if (endIndex != null) 'endIndex': endIndex!,
      if (startIndex != null) 'startIndex': startIndex!,
      if (word != null) 'word': word!,
    };