NormalizedCoordinate.fromJson constructor

NormalizedCoordinate.fromJson(
  1. Map _json
)

Implementation

NormalizedCoordinate.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,
      );