Vertex constructor

Vertex(
  1. String id
)

Implementation

Vertex(this.id) : assert(id.isNotEmpty, "Vertex id cannot be empty.");