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