EmpirePropertyNullValueException class Null safety

Thrown when an not-null-safe action is performed on a Nullable Empire Property, and the underlying value was null.

An example is performing an arithmetic operation on an EmpireNullableIntProperty when the int value was null

Inheritance

Constructors

EmpirePropertyNullValueException(StackTrace? stack, String? propertyName, Type type)

Properties

hashCode int
The hash code for this object.
read-only, inherited
propertyName String?
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stack StackTrace?
final, inherited
type Type
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited