match function

bool match(
  1. Object? input,
  2. Object? other
)

checks if two Strings are the same

Implementation

bool match(
  Object? input,
  Object? other,
) =>
    input != null &&
        other != null &&
        input.runtimeType == other.runtimeType &&
        identical(input, other) ||
    input == other;