shouldEndWithIgnoringCase method

void shouldEndWithIgnoringCase(
  1. String expected
)

Asserts that the value ends with expected ignoring case sensitivity.

Implementation

void shouldEndWithIgnoringCase(String expected) {
  expect(
    toLowerCase(),
    endsWith(expected.toLowerCase()),
    reason: 'Expected the String $this to end with $expected',
  );
}