CreateElicitationRequestUrl.fromMap constructor

CreateElicitationRequestUrl.fromMap(
  1. Map<Object?, Object?> value
)

Implementation

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