toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (column != null) 'column': column,
      if (endColumn != null) 'endColumn': endColumn,
      if (endLine != null) 'endLine': endLine,
      'expensive': expensive,
      if (indexedVariables != null) 'indexedVariables': indexedVariables,
      if (line != null) 'line': line,
      'name': name,
      if (namedVariables != null) 'namedVariables': namedVariables,
      if (presentationHint != null) 'presentationHint': presentationHint,
      if (source != null) 'source': source,
      'variablesReference': variablesReference,
    };