matches method

  1. @override
bool matches(
  1. String input
)
override

Checks if the input string matches this permission's key or common aliases.

Implementation

@override
bool matches(String input) {
  return key.toLowerCase() == input.toLowerCase();
}