toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (debugMessages != null) 'debugMessages': debugMessages!,
      if (errorPosition != null) 'errorPosition': errorPosition!,
      if (expressionReports != null) 'expressionReports': expressionReports!,
      if (functionCalls != null) 'functionCalls': functionCalls!,
      if (state != null) 'state': state!,
      if (visitedExpressions != null)
        'visitedExpressions': visitedExpressions!,
    };