WhichPolygon<T>.fromSerialized constructor

WhichPolygon<T>.fromSerialized(
  1. dynamic data
)

Instantiates the class using an object from serialize.

Implementation

WhichPolygon.fromSerialized(dynamic data) {
  _tree.data = data;
}