Grid.parse constructor

Grid.parse(
  1. Parser parser
)

Implementation

Grid.parse(Parser parser)
    : this(
        width: parser.getInt('width'),
        height: parser.getInt('height'),
        orientation: parser.getGridOrientation('orientation'),
      );