getName method

String getName(
  1. BlurType type
)

Implementation

String getName(BlurType type) {
  switch (type) {
    case BlurType.gaussian:
      return "gaussianBlur";
    case BlurType.stack:
      return "stackBlur";
    case BlurType.box:
      return "boxBlur";
    case BlurType.bokeh:
      return "bokehBlur";
  }
}