matchesName method

bool matchesName(
  1. String name
)

Implementation

bool matchesName(String name) {
  return this.name.trim().toLowerCase() == name.toLowerCase();
}