notNull property
Signal<T>
get
notNull
Returns a new Signal<T>
with the value of the current Signal<T?>
if it's not null.
Implementation
Signal<T> get notNull {
assert(value != null);
return Signal<T>(value as T);
}