PlanEntryStatusInProgress.fromJson constructor

PlanEntryStatusInProgress.fromJson(
  1. Object? value
)

Implementation

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