endsWith static method

Validator endsWith(
  1. String suffix, {
  2. String? message,
})

Ensures the value ends with a specific suffix.

Implementation

static Validator endsWith(String suffix, {String? message}) =>
    Validator._()..endsWith(suffix, message: message);