strokeCap static method
Implementation
static StrokeCap? strokeCap(dynamic value) => switch (value) {
'round' => StrokeCap.round,
'butt' => StrokeCap.butt,
'square' => StrokeCap.square,
_ => null
};
static StrokeCap? strokeCap(dynamic value) => switch (value) {
'round' => StrokeCap.round,
'butt' => StrokeCap.butt,
'square' => StrokeCap.square,
_ => null
};