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