PlanEntryPriorityHigh.fromJson constructor

PlanEntryPriorityHigh.fromJson(
  1. Object? value
)

Implementation

factory PlanEntryPriorityHigh.fromJson(Object? value) {
  final decoded = PlanEntryPriority.fromJson(value);
  if (decoded is! PlanEntryPriorityHigh) {
    throw const AcpWireDecodeException('Expected PlanEntryPriorityHigh.');
  }
  return decoded;
}