InteractionContext constructor Null safety

InteractionContext(
  1. {required CommandsPlugin commands,
  2. required IGuild? guild,
  3. required ITextChannel channel,
  4. required IMember? member,
  5. required IUser user,
  6. required Command command,
  7. required INyxx client,
  8. required ISlashCommandInteraction interaction,
  9. required Map<String, dynamic> rawArguments,
  10. required ISlashCommandInteractionEvent interactionEvent}
)

Construct a new InteractionContext

Implementation

InteractionContext({
  required CommandsPlugin commands,
  required IGuild? guild,
  required ITextChannel channel,
  required IMember? member,
  required IUser user,
  required Command command,
  required INyxx client,
  required this.interaction,
  required this.rawArguments,
  required this.interactionEvent,
}) : super(
        commands: commands,
        guild: guild,
        channel: channel,
        member: member,
        user: user,
        command: command,
        client: client,
      );