NormalizedVertex.fromJson constructor

NormalizedVertex.fromJson(
  1. Map json_
)

Implementation

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