ElicitationContentValueInteger.fromJson constructor
ElicitationContentValueInteger.fromJson(
- Object? value
Implementation
factory ElicitationContentValueInteger.fromJson(Object? value) {
final decoded = ElicitationContentValue.fromJson(value);
if (decoded is! ElicitationContentValueInteger) {
throw const AcpWireDecodeException(
'Expected ElicitationContentValueInteger.',
);
}
return decoded;
}