magnet static method

PhosphorIconData magnet([
  1. PhosphorIconsStyle style = PhosphorIconsStyle.regular
])

regular: magnet thin: magnet light: magnet bold: magnet fill: magnet duotone: magnet

Implementation

static PhosphorIconData magnet(
    [PhosphorIconsStyle style = PhosphorIconsStyle.regular]) {
  switch (style) {
    case PhosphorIconsStyle.regular:
      return PhosphorIconsRegular.magnet;
    case PhosphorIconsStyle.thin:
      return PhosphorIconsThin.magnet;
    case PhosphorIconsStyle.light:
      return PhosphorIconsLight.magnet;
    case PhosphorIconsStyle.bold:
      return PhosphorIconsBold.magnet;
    case PhosphorIconsStyle.fill:
      return PhosphorIconsFill.magnet;
    case PhosphorIconsStyle.duotone:
      return PhosphorIconsDuotone.magnet;
  }
}