DirectTCPSocketAbortedEvent.fromJson constructor

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

Implementation

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