Check if given string is empty or null
bool isStrNil(String? string) { return string == null || string.isEmpty || string.trim().isEmpty; }