Node constructor

Node(
  1. int? x,
  2. int? y, [
  3. dynamic walkable
])

Implementation

Node(this.x, this.y, [walkable]) {
  this.walkable = (walkable == null ? true : walkable);
}