ResourceChangedPriorityEvent.fromJson constructor

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

Implementation

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