contains static method

bool contains(
  1. String? value,
  2. String? keyword
)

Implementation

static bool contains(String? value, String? keyword){
  if(NUIDataUtil.isNullOrEmpty(value)) return false;
  if(NUIDataUtil.isNullOrEmpty(keyword)) return true;
  return value!.toLowerCase().contains(keyword!.toLowerCase());
}