toString method

  1. @override
String toString()
override

Returns a string representation of this species.

Primarily used for debugging and logging purposes.

Implementation

@override
String toString() {
  return 'MosquitoSpecies(id: $id, name: $name, commonName: $commonName)';
}