isNone method

bool isNone()

Returns true if the option is a None value.

Implementation

bool isNone() {
  return this == null;
}