DataReceivedEvent.fromJson constructor
Implementation
factory DataReceivedEvent.fromJson(Map<String, dynamic> json) {
return DataReceivedEvent(
requestId: RequestId.fromJson(json['requestId'] as String),
timestamp: MonotonicTime.fromJson(json['timestamp'] as num),
dataLength: json['dataLength'] as int,
encodedDataLength: json['encodedDataLength'] as int,
);
}