borderPattern static method

BorderPattern? borderPattern(
  1. dynamic value
)

Implementation

static BorderPattern? borderPattern(dynamic value) => switch (value) {
      'solid' => BorderPattern.solid,
      'dotted' => BorderPattern.dotted,
      'dashed' => BorderPattern.dashed,
      _ => null
    };