PlanEntryStatusPending.fromJson constructor

PlanEntryStatusPending.fromJson(
  1. Object? value
)

Implementation

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