Variable.fromMap constructor

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

Implementation

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