isNull property

  1. @override
bool get isNull
override

Returns whether or not current type value is null. Example:

final myNum = JsonIntNullable()..set(null);
assert(myNum.isNull);

Implementation

@override
bool get isNull => value == null;