DirectUDPSocketClosedEvent.fromJson constructor

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

Implementation

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