EvaluateResponseBody.fromMap constructor

EvaluateResponseBody.fromMap(
  1. Map<String, Object?> obj
)

Implementation

EvaluateResponseBody.fromMap(Map<String, Object?> obj)
    : indexedVariables = obj['indexedVariables'] as int?,
      memoryReference = obj['memoryReference'] as String?,
      namedVariables = obj['namedVariables'] as int?,
      presentationHint = obj['presentationHint'] == null
          ? null
          : VariablePresentationHint.fromJson(
              obj['presentationHint'] as Map<String, Object?>),
      result = obj['result'] as String,
      type = obj['type'] as String?,
      valueLocationReference = obj['valueLocationReference'] as int?,
      variablesReference = obj['variablesReference'] as int;