toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (column != null) 'column': column!,
      if (currentOffset != null) 'currentOffset': currentOffset!,
      if (endOffset != null) 'endOffset': endOffset!,
      if (fileName != null) 'fileName': fileName!,
      if (line != null) 'line': line!,
    };