count property

int get count

Implementation

int get count => switch (name) {
      'single' => 1,
      'double' => 2,
      'triple' => 3,
      _ => 1,
    };