LifecycleEventEvent.fromJson constructor

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

Implementation

factory LifecycleEventEvent.fromJson(Map<String, dynamic> json) {
  return LifecycleEventEvent(
    frameId: FrameId.fromJson(json['frameId'] as String),
    loaderId: network.LoaderId.fromJson(json['loaderId'] as String),
    name: json['name'] as String,
    timestamp: network.MonotonicTime.fromJson(json['timestamp'] as num),
  );
}