fromJson method
Implementation
@override
PathFillType fromJson(Object? json) {
if (json is String && json.toLowerCase() == 'evenodd') {
return PathFillType.evenOdd;
}
return PathFillType.nonZero;
}
@override
PathFillType fromJson(Object? json) {
if (json is String && json.toLowerCase() == 'evenodd') {
return PathFillType.evenOdd;
}
return PathFillType.nonZero;
}