DirectTCPSocketChunkReceivedEvent.fromJson constructor

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

Implementation

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