Point class

use National Bureau of Statistics's data, build tree, the point is trees's node

Constructors

Point({String? code = '0', required List<Point> children, int? depth, String? letter, String name = '', bool isClassificationNode = false})
Point.nullPoint()

Properties

children List<Point>
final
code String?
final
depth int?
final
hashCode int
The hash code for this object.
no setterinherited
isClassificationNode bool
Just a classification node, not corresponding to the actual region.
final
isNull bool
no setter
letter String?
final
lowerCaseName String
no setter
name String
final
pinyin Pinyin?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addChild(Point node) → dynamic
add node for Point, the node's type must is Point
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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