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