parse static method

Margin parse(
  1. String str
)

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

go.Margin.parse("1 2 3 4") produces the Margin new go.Margin(1, 2, 3, 4).

Implementation

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