toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (indexedVariables != null) 'indexedVariables': indexedVariables,
      if (memoryReference != null) 'memoryReference': memoryReference,
      if (namedVariables != null) 'namedVariables': namedVariables,
      if (type != null) 'type': type,
      'value': value,
      if (valueLocationReference != null)
        'valueLocationReference': valueLocationReference,
      if (variablesReference != null)
        'variablesReference': variablesReference,
    };