AttachedToTargetEvent.fromJson constructor

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

Implementation

factory AttachedToTargetEvent.fromJson(Map<String, dynamic> json) {
  return AttachedToTargetEvent(
    sessionId: SessionID.fromJson(json['sessionId'] as String),
    targetInfo:
        TargetInfo.fromJson(json['targetInfo'] as Map<String, dynamic>),
    waitingForDebugger: json['waitingForDebugger'] as bool? ?? false,
  );
}