DbStats class

Database statistics

Constructors

DbStats({required int countries, required int states, required int cities})
const
DbStats.fromMap(Map<String, dynamic> map)
Create from JSON map
factory

Properties

cities int
Number of cities in the database
final
countries int
Number of countries in the database
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
states int
Number of states/provinces in the database
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert to JSON map
toString() String
A string representation of this object.
override

Operators

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