SetBreakpointByUrlResult.fromJson constructor

SetBreakpointByUrlResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SetBreakpointByUrlResult.fromJson(Map<String, dynamic> json) {
  return SetBreakpointByUrlResult(
    breakpointId: BreakpointId.fromJson(json['breakpointId'] as String),
    locations: (json['locations'] as List)
        .map((e) => Location.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}