{"id":16037288,"url":"https://github.com/stevenroose/dart-snippets","last_synced_at":"2025-04-05T05:40:57.897Z","repository":{"id":23764313,"uuid":"27138976","full_name":"stevenroose/dart-snippets","owner":"stevenroose","description":"A collection of useful Dart code snippets.","archived":false,"fork":false,"pushed_at":"2016-01-08T13:52:13.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T13:28:46.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevenroose.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-25T18:05:29.000Z","updated_at":"2018-08-19T18:58:42.000Z","dependencies_parsed_at":"2022-07-23T23:16:12.914Z","dependency_job_id":null,"html_url":"https://github.com/stevenroose/dart-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenroose%2Fdart-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenroose%2Fdart-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenroose%2Fdart-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenroose%2Fdart-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevenroose","download_url":"https://codeload.github.com/stevenroose/dart-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294459,"owners_count":20915337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T22:12:06.603Z","updated_at":"2025-04-05T05:40:57.876Z","avatar_url":"https://github.com/stevenroose.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"dart-snippets\n=============\n\nA collection of useful Dart code snippets. Each of them are defined in a separate library and can be imported separately.\n\n[ByteSink](https://github.com/stevenroose/dart-snippets/blob/master/lib/byte_sink.dart)\n--------\nA ByteSink implementation that implements the dart:core Sink interface. \nIt supports adding single and multiple bytes (both List\u003cint\u003e as TypedData classes like Uint8List) and can be extracted as a Uint8List byte string.\n\n[LRUMap](https://github.com/stevenroose/dart-snippets/blob/master/lib/lru_map.dart)\n------\nAn implementation of a Map which has a maximum size and uses a Least Recently Used algorithm to remove items from the map when the maximum size is reached and new items are added.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenroose%2Fdart-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevenroose%2Fdart-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenroose%2Fdart-snippets/lists"}