isEmpty method

  1. @override
bool isEmpty()
override

Returns if the current value is empty or not.

Implementation

@override
bool isEmpty() {
  return value == null;
}