ResponseCreatedEvent.fromJson constructor

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

Creates a ResponseCreatedEvent from JSON.

Implementation

factory ResponseCreatedEvent.fromJson(Map<String, dynamic> json) {
  return ResponseCreatedEvent(
    eventId: json['event_id'] as String,
    response: json['response'] as Map<String, dynamic>,
  );
}