parse static method

Size parse(
  1. String str
)

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

go.Size.parse("1 2") produces the Size new go.Size(1, 2).

Implementation

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