check string is null or empty or zero
static bool isNullOREmptyORZero(String? str) { return (str == null || str.trim().isEmpty || str == "0"); }