ConsoleProfileStartedEvent.fromJson constructor

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

Implementation

factory ConsoleProfileStartedEvent.fromJson(Map<String, dynamic> json) {
  return ConsoleProfileStartedEvent(
    id: json['id'] as String,
    location: debugger.Location.fromJson(
      json['location'] as Map<String, dynamic>,
    ),
    title: json.containsKey('title') ? json['title'] as String : null,
  );
}