ElicitationPropertySchemaString.fromMap constructor
Implementation
factory ElicitationPropertySchemaString.fromMap(Map<Object?, Object?> value) {
final decoded = ElicitationPropertySchema.fromMap(value);
if (decoded is! ElicitationPropertySchemaString) {
throw const AcpWireDecodeException(
'Expected ElicitationPropertySchemaString.',
);
}
return decoded;
}