nonEmptyEquals static method

bool nonEmptyEquals(
  1. String? text1,
  2. String? text2
)

Implementation

static bool nonEmptyEquals(String? text1, String? text2) =>
    isNotEmpty(text1) && isNotEmpty(text2) && text1 == text2;