InspectRequestedEvent.fromJson constructor

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

Implementation

factory InspectRequestedEvent.fromJson(Map<String, dynamic> json) {
  return InspectRequestedEvent(
    object: RemoteObject.fromJson(json['object'] as Map<String, dynamic>),
    hints: json['hints'] as Map<String, dynamic>,
    executionContextId: json.containsKey('executionContextId')
        ? ExecutionContextId.fromJson(json['executionContextId'] as int)
        : null,
  );
}