Vertex.fromJson constructor

Vertex.fromJson(
  1. Map json_
)

Implementation

Vertex.fromJson(core.Map json_)
    : this(
        x: json_.containsKey('x') ? json_['x'] as core.int : null,
        y: json_.containsKey('y') ? json_['y'] as core.int : null,
      );