ArgumentError.notNull([String name])

Create an argument error for a null argument that must not be null.

Shorthand for calling ArgumentError.value with a null value and a message of "Must not be null".

Source

ArgumentError.notNull([String name])
    : this.value(null, name, "Must not be null");