Scope.fromMap constructor

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

Implementation

Scope.fromMap(Map<String, Object?> obj)
    : column = obj['column'] as int?,
      endColumn = obj['endColumn'] as int?,
      endLine = obj['endLine'] as int?,
      expensive = obj['expensive'] as bool,
      indexedVariables = obj['indexedVariables'] as int?,
      line = obj['line'] as int?,
      name = obj['name'] as String,
      namedVariables = obj['namedVariables'] as int?,
      presentationHint = obj['presentationHint'] as String?,
      source = obj['source'] == null
          ? null
          : Source.fromJson(obj['source'] as Map<String, Object?>),
      variablesReference = obj['variablesReference'] as int;