Constructor to initialize the exception with a specific message.
const ArgumentException(String message, {Map<String, dynamic>? details}) : super(message, details: details);