EventSourceMessageReceivedEvent.fromJson constructor
Implementation
factory EventSourceMessageReceivedEvent.fromJson(Map<String, dynamic> json) {
return EventSourceMessageReceivedEvent(
requestId: RequestId.fromJson(json['requestId'] as String),
timestamp: MonotonicTime.fromJson(json['timestamp'] as num),
eventName: json['eventName'] as String,
eventId: json['eventId'] as String,
data: json['data'] as String,
);
}