AmqPlainAuthenticator constructor

const AmqPlainAuthenticator(
  1. String userName,
  2. String password
)

Create a new PlainAuthenticator with the specified userName and password

Implementation

const AmqPlainAuthenticator(this.userName, this.password);