isPhraseEqual static method

bool isPhraseEqual(
  1. String phase1,
  2. String phase2
)

check if password is equal to confirm password or pharse is equal to confirm phrase

Implementation

static bool isPhraseEqual(String phase1, String phase2) {
  return phase1 == phase2;
}