parse static method

Spot parse(
  1. String str
)

This static function can be used to read in a Spot from a string that was produced by Spot.stringify.

go.Spot.parse("0 1 2 3") produces the Spot new go.Spot(0, 1, 2, 3).

Implementation

static _i3.Spot parse(_i2.String str) => _i4.callMethod(
      _declaredSpot,
      'parse',
      [str],
    );