isExists static method

bool isExists(
  1. dynamic value
)

Implementation

static bool isExists(dynamic value) {
  return !["", null, false, 0].contains(value);
}