match static method

bool match(
  1. String? value1,
  2. String? value2
)

Implementation

static bool match(String? value1, String? value2){
  return value1 != null && value2 != null && value1.toLowerCase() == value2.toLowerCase();
}