parseLineJoin static method

StrokeJoin? parseLineJoin(
  1. String value
)

Implementation

static StrokeJoin? parseLineJoin(String value) {
  // round, bevel, miter
  switch (value) {
    case ROUND:
      return StrokeJoin.round;
    case BEVEL:
      return StrokeJoin.bevel;
    case MITER:
      return StrokeJoin.miter;
  }
  return null;
}