PlanEntryStatusCompleted.fromJson constructor

PlanEntryStatusCompleted.fromJson(
  1. Object? value
)

Implementation

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