ifEquals static method

Converter<bool> ifEquals(
  1. dynamic value
)

Returns true if an attribute's string matches this value. Used by @ifEquals.

Implementation

static Converter<bool> ifEquals(value) => (s) => value == s;