CreateElicitationRequestForm.fromMap constructor

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

Implementation

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