NaPoint<T extends NaCoordinate> constructor

NaPoint<T extends NaCoordinate>({
  1. required T coordinate,
  2. String name = '',
})

Implementation

NaPoint({required this.coordinate, String name = ''}) {
  if (coordinate.name.isEmpty || name.isNotEmpty) {
    coordinate.name = name;
  }
}