hasName method

bool hasName(
  1. String name
)

Implementation

bool hasName(String name) => this.name == name;