isNotNullConstraintError method
True if the exception is a not null constraint error
Implementation
@override
bool isNotNullConstraintError([String? field]) => cause is DatabaseException
? (cause as DatabaseException).isNotNullConstraintError(field)
: false;