Benign dart Download

sri_lanka_holidays 1.0.2

“Official Sri Lanka Public, Bank, and Mercantile holidays (including Full Moon Poya days) for 2026, 2027, and extensible JSON support for Da…”

Basename is uppercase README.md
SHA-2564161132182e6dcb5574a473b5130ec1fbf16c5d980126c398deaebac0549494a

Evidence

Markdown-style heading precedes a code fence README.md · lines 1–36
1# 🇱🇰 sri_lanka_holidays (Flutter & Dart / pub.dev)
2
3Official **Sri Lanka Public, Bank, and Mercantile Holidays** (including Full Moon Poya Days) for **Dart 3+** and **Flutter**.
4
5## Installation
6
7```yaml
8dependencies:
9 sri_lanka_holidays: ^1.0.2
10```
11
12## Quick Start
13
14```dart
15import 'package:sri_lanka_holidays/sri_lanka_holidays.dart';
16
⋯16 lines
33## License
34
35MIT © [Sahan Ranasingha](https://github.com/sahanRanasingha) — [Buy Me a Coffee](https://buymeacoffee.com/rsahan)
36
ESM side-effect-only package import sri_lanka_holidays.dart · lines 1–15
1library sri_lanka_holidays;
2
3import 'src/holidays_data.dart';
4
5enum HolidayType {
6 public('Public'),
7 bank('Bank'),
8 mercantile('Mercantile');
9
10 final String value;
11 const HolidayType(this.value);
12
13 static HolidayType parse(String input) {
14 switch (input.trim().toLowerCase()) {
15 …
Source contains for-loop syntax sri_lanka_holidays.dart · lines 70–85
⋯9 lines
79class SriLankaHolidays {
80 static final Map<int, List<SriLankaHoliday>> _store = {
81 for (final entry in defaultHolidaysByYear.entries)
82 entry.key: entry.value
83 .map((item) => SriLankaHoliday.fromMap(item))
84 .toList(growable: false),
85 } …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.