toJson method

  1. @override
Object? toJson(
  1. PathFillType value
)

Implementation

@override
Object? toJson(PathFillType value) {
  switch (value) {
    case PathFillType.evenOdd:
      return 'EVENODD';
    case PathFillType.nonZero:
      return 'NONZERO';
  }
}