{"id":15487723,"url":"https://github.com/cloudwebrtc/dart-events","last_synced_at":"2025-07-24T06:04:33.846Z","repository":{"id":56828530,"uuid":"167213904","full_name":"cloudwebrtc/dart-events","owner":"cloudwebrtc","description":"Event emitter for dart2.","archived":false,"fork":false,"pushed_at":"2019-10-05T16:56:29.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T17:58:14.993Z","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/cloudwebrtc.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":"2019-01-23T16:21:42.000Z","updated_at":"2020-05-07T10:25:08.000Z","dependencies_parsed_at":"2022-08-29T02:41:07.498Z","dependency_job_id":null,"html_url":"https://github.com/cloudwebrtc/dart-events","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudwebrtc/dart-events","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudwebrtc%2Fdart-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudwebrtc%2Fdart-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudwebrtc%2Fdart-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudwebrtc%2Fdart-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudwebrtc","download_url":"https://codeload.github.com/cloudwebrtc/dart-events/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudwebrtc%2Fdart-events/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266801394,"owners_count":23986371,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-02T06:41:34.573Z","updated_at":"2025-07-24T06:04:33.819Z","avatar_url":"https://github.com/cloudwebrtc.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![pub package](https://img.shields.io/pub/v/events2.svg)](https://pub.dartlang.org/packages/events2)\n\n# dart-events\nEvent emitter for dart2.\n\n## Usage\n```dart\n\nimport 'package:events2/events2.dart';\n\nmain() {\n  EventEmitter event_emitter = new EventEmitter();\n\n  event_emitter.on('event1', (arg0, String arg1, int arg2, arg3) {\n    print('arg0 = ' + arg0 + ', arg1 = ' + arg1 + ', arg2 = ' + arg2.toString() + ', arg3 = ' + arg3.toString());\n  });\n\n  event_emitter.once('event2', () {\n    print('event2 ');\n  });\n  \n  event_emitter.emit('event1', 'a', 'b', null);\n  event_emitter.emit('event2');\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudwebrtc%2Fdart-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudwebrtc%2Fdart-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudwebrtc%2Fdart-events/lists"}