HelloCommand constructor

HelloCommand(
  1. Db db, {
  2. String? username,
  3. HelloOptions? helloOptions,
  4. Map<String, Object>? rawOptions,
  5. Connection? connection,
})

Implementation

HelloCommand(Db db,
    {String? username,
    HelloOptions? helloOptions,
    Map<String, Object>? rawOptions,
    Connection? connection})
    : super(db, <String, Object>{...?helloOptions?.options, ...?rawOptions},
          command: {
            ..._command,
            if (filled(username))
              keySaslSupportedMechs: '${db.databaseName}.$username'
          },
          connection: connection);