isNotEmpty method

bool isNotEmpty()

Implementation

bool isNotEmpty() {
  return type.isNotEmpty && value.isNotEmpty;
}