ArgumentException constructor

const ArgumentException(
  1. String message, {
  2. Map<String, dynamic>? details,
})

Constructor to initialize the exception with a specific message.

Implementation

const ArgumentException(String message, {Map<String, dynamic>? details})
    : super(message, details: details);