NullValueException constructor

const NullValueException({
  1. String? message,
})

Create an exception of an optional message.

Implementation

const NullValueException({String? message})
    : super(message ?? 'Value is null.');