name method

String name()

Generates a sport name.

Example:

  faker.sport.name();

Implementation

String name() => random.element(sportNames);