DirectTCPSocketClosedEvent.fromJson constructor

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

Implementation

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