ConsoleProfileFinishedEvent.fromJson constructor

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

Implementation

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