LoadingFinishedEvent.fromJson constructor

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

Implementation

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