NodeInfo constructor

const NodeInfo({
  1. required String id,
  2. required NodeCoordinate coordinate,
})

Creates a new immutable NodeInfo with the given id and coordinate.

Implementation

const NodeInfo({
  required this.id,
  required this.coordinate,
});