MssqlUnexpectedNullException class
Raised when a generated mapper required a value and the row held SQL NULL.
-- notnull and a non-null column from describe both make this promise.
The crash names the .sql file and the column, because a generic
Null check operator used on a null value does not.
- Inheritance
-
- Object
- MssqlOrmException
- MssqlUnexpectedNullException
Constructors
- MssqlUnexpectedNullException({required String source, required String column})
-
const
Properties
- column → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A sentence naming what happened and, where there is one, what to do.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
The
.sqlfile or table that declared the column non-null.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited