Insect class

Inheritance

Constructors

Insect({required int number, required String name, required String url, required String imageUrl, required String renderUrl, required List<String> catchphrases, required String location, required Rarity rarity, required int totalCatch, required int sellNook, required double tankWidth, required double tankLength, required CritterAvailability north, required CritterAvailability south, required int sellFlick})
const
Insect.fromJson(Map<String, dynamic> json, String version)
factory

Properties

catchphrases List<String>
An array of possible catchphrases the player says after catching the critter. Most critters have just one, but some can have multiple.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
imageUrl String
Image of the critter. dodo.ac is Nookipedia's CDN server.
finalinherited
location String
Short descriptor of where the insect can be found.
final
name String
Name of the critter.
finalinherited
north CritterAvailability
When you can catch the critter in the Northern hemisphere.
finalinherited
number int
In-game critter number, marking position in the Critterpedia.
finalinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
rarity Rarity
How rare the critter is. Note that this field is currently empty for most critters as we do not yet know how exactly critter rarities are calculated in the game code.
finalinherited
renderUrl String
Render of the critter. dodo.ac is Nookipedia's CDN server.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sellFlick int
The number of Bells the bug can be sold to Flick for. This value is always 1.5x that of sellNook.
final
sellNook int
The number of Bells the critter can be sold to Nook's store for.
finalinherited
south CritterAvailability
When you can catch the critter in the Southern hemisphere.
finalinherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tankLength double
The length of the tank when the critter is placed as a furniture item.
finalinherited
tankWidth double
The width of the tank when the critter is placed as a furniture item.
finalinherited
totalCatch int
The total number of critter the player has to have caught before this critter will start spawning.
finalinherited
url String
Link to the respective Nookipedia article.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited