Insect class
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.
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
imageUrl
→ String
Image of the critter. dodo.ac is Nookipedia's CDN server.
final inherited
location
→ String
Short descriptor of where the insect can be found.
final
name
→ String
Name of the critter.
final inherited
north
→ CritterAvailability
When you can catch the critter in the Northern hemisphere.
final inherited
number
→ int
In-game critter number, marking position in the Critterpedia.
final inherited
props
→ List <Object ? >
The list of properties that will be used to determine whether
two instances are equal.
no setter inherited
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.
final inherited
renderUrl
→ String
Render of the critter. dodo.ac is Nookipedia's CDN server.
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
sellFlick
→ int
The number of Bells the bug can be sold to Flick for. This value is always 1.5
x that of sellNook
.
final
sellNook
→ int
The number of Bells the critter can be sold to Nook's store for.
final inherited
south
→ CritterAvailability
When you can catch the critter in the Southern hemisphere.
final inherited
stringify
→ bool
If set to true
, the toString method will be overridden to output
this instance's props .
no setter inherited
tankLength
→ double
The length of the tank when the critter is placed as a furniture item.
final inherited
tankWidth
→ double
The width of the tank when the critter is placed as a furniture item.
final inherited
totalCatch
→ int
The total number of critter the player has to have caught before this critter will start spawning.
final inherited
url
→ String
Link to the respective Nookipedia article.
final inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited