InvalidArgumentException constructor

InvalidArgumentException(
  1. dynamic _message
)

Constructor takes the exception message as an argument

Implementation

InvalidArgumentException(this._message);