Capabilities.fromMap constructor
Implementation
Capabilities.fromMap(Map<String, Object?> obj)
: additionalModuleColumns = (obj['additionalModuleColumns'] as List?)
?.map((item) =>
ColumnDescriptor.fromJson(item as Map<String, Object?>))
.toList(),
completionTriggerCharacters =
(obj['completionTriggerCharacters'] as List?)
?.map((item) => item as String)
.toList(),
exceptionBreakpointFilters =
(obj['exceptionBreakpointFilters'] as List?)
?.map((item) => ExceptionBreakpointsFilter.fromJson(
item as Map<String, Object?>))
.toList(),
supportSuspendDebuggee = obj['supportSuspendDebuggee'] as bool?,
supportTerminateDebuggee = obj['supportTerminateDebuggee'] as bool?,
supportedChecksumAlgorithms =
(obj['supportedChecksumAlgorithms'] as List?)
?.map((item) => item as ChecksumAlgorithm)
.toList(),
supportsBreakpointLocationsRequest =
obj['supportsBreakpointLocationsRequest'] as bool?,
supportsCancelRequest = obj['supportsCancelRequest'] as bool?,
supportsClipboardContext = obj['supportsClipboardContext'] as bool?,
supportsCompletionsRequest = obj['supportsCompletionsRequest'] as bool?,
supportsConditionalBreakpoints =
obj['supportsConditionalBreakpoints'] as bool?,
supportsConfigurationDoneRequest =
obj['supportsConfigurationDoneRequest'] as bool?,
supportsDataBreakpoints = obj['supportsDataBreakpoints'] as bool?,
supportsDelayedStackTraceLoading =
obj['supportsDelayedStackTraceLoading'] as bool?,
supportsDisassembleRequest = obj['supportsDisassembleRequest'] as bool?,
supportsEvaluateForHovers = obj['supportsEvaluateForHovers'] as bool?,
supportsExceptionFilterOptions =
obj['supportsExceptionFilterOptions'] as bool?,
supportsExceptionInfoRequest =
obj['supportsExceptionInfoRequest'] as bool?,
supportsExceptionOptions = obj['supportsExceptionOptions'] as bool?,
supportsFunctionBreakpoints =
obj['supportsFunctionBreakpoints'] as bool?,
supportsGotoTargetsRequest = obj['supportsGotoTargetsRequest'] as bool?,
supportsHitConditionalBreakpoints =
obj['supportsHitConditionalBreakpoints'] as bool?,
supportsInstructionBreakpoints =
obj['supportsInstructionBreakpoints'] as bool?,
supportsLoadedSourcesRequest =
obj['supportsLoadedSourcesRequest'] as bool?,
supportsLogPoints = obj['supportsLogPoints'] as bool?,
supportsModulesRequest = obj['supportsModulesRequest'] as bool?,
supportsReadMemoryRequest = obj['supportsReadMemoryRequest'] as bool?,
supportsRestartFrame = obj['supportsRestartFrame'] as bool?,
supportsRestartRequest = obj['supportsRestartRequest'] as bool?,
supportsSetExpression = obj['supportsSetExpression'] as bool?,
supportsSetVariable = obj['supportsSetVariable'] as bool?,
supportsSingleThreadExecutionRequests =
obj['supportsSingleThreadExecutionRequests'] as bool?,
supportsStepBack = obj['supportsStepBack'] as bool?,
supportsStepInTargetsRequest =
obj['supportsStepInTargetsRequest'] as bool?,
supportsSteppingGranularity =
obj['supportsSteppingGranularity'] as bool?,
supportsTerminateRequest = obj['supportsTerminateRequest'] as bool?,
supportsTerminateThreadsRequest =
obj['supportsTerminateThreadsRequest'] as bool?,
supportsValueFormattingOptions =
obj['supportsValueFormattingOptions'] as bool?,
supportsWriteMemoryRequest = obj['supportsWriteMemoryRequest'] as bool?;