SetBreakpointsArguments.fromMap constructor

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

Implementation

SetBreakpointsArguments.fromMap(Map<String, Object?> obj)
    : breakpoints = (obj['breakpoints'] as List?)
          ?.map((item) =>
              SourceBreakpoint.fromJson(item as Map<String, Object?>))
          .toList(),
      lines = (obj['lines'] as List?)?.map((item) => item as int).toList(),
      source = Source.fromJson(obj['source'] as Map<String, Object?>),
      sourceModified = obj['sourceModified'] as bool?;