DirectUDPSocketChunkSentEvent.fromJson constructor

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

Implementation

factory DirectUDPSocketChunkSentEvent.fromJson(Map<String, dynamic> json) {
  return DirectUDPSocketChunkSentEvent(
    identifier: RequestId.fromJson(json['identifier'] as String),
    message: DirectUDPMessage.fromJson(
      json['message'] as Map<String, dynamic>,
    ),
    timestamp: MonotonicTime.fromJson(json['timestamp'] as num),
  );
}