{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/21718","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/21718/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/21718/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/21718/events","html_url":"https://github.com/dart-lang/sdk/issues/21718","id":84594105,"number":21718,"title":"Ability to detect if a class is an enum","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"id":219928175,"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-language","name":"area-language","color":"c7def8","default":false},{"id":334529267,"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type:%20enhancement","name":"Type: enhancement","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"gbracha","id":4052598,"avatar_url":"https://avatars.githubusercontent.com/u/4052598?v=3","gravatar_id":"","url":"https://api.github.com/users/gbracha","html_url":"https://github.com/gbracha","followers_url":"https://api.github.com/users/gbracha/followers","following_url":"https://api.github.com/users/gbracha/following{/other_user}","gists_url":"https://api.github.com/users/gbracha/gists{/gist_id}","starred_url":"https://api.github.com/users/gbracha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbracha/subscriptions","organizations_url":"https://api.github.com/users/gbracha/orgs","repos_url":"https://api.github.com/users/gbracha/repos","events_url":"https://api.github.com/users/gbracha/events{/privacy}","received_events_url":"https://api.github.com/users/gbracha/received_events","type":"User","site_admin":false},"assignees":[{"login":"gbracha","id":4052598,"avatar_url":"https://avatars.githubusercontent.com/u/4052598?v=3","gravatar_id":"","url":"https://api.github.com/users/gbracha","html_url":"https://github.com/gbracha","followers_url":"https://api.github.com/users/gbracha/followers","following_url":"https://api.github.com/users/gbracha/following{/other_user}","gists_url":"https://api.github.com/users/gbracha/gists{/gist_id}","starred_url":"https://api.github.com/users/gbracha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbracha/subscriptions","organizations_url":"https://api.github.com/users/gbracha/orgs","repos_url":"https://api.github.com/users/gbracha/repos","events_url":"https://api.github.com/users/gbracha/events{/privacy}","received_events_url":"https://api.github.com/users/gbracha/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2014-11-25T20:46:49Z","updated_at":"2016-12-14T22:13:29Z","closed_at":"2016-12-14T22:13:29Z","body":"_This issue was originally filed by @seaneagan_\n\n---\n\nTwo ways to implement this:\n\n1) add an `Enum` class to `dart:core` that all `enum`s extend.\n2) add `isEnumerated` to `ClassMirror`, or `EnumMirror` which extends `ClassMirror`.\n\nMy use case:\n\nhttps://github.com/seaneagan/unscripted/issues/13\n"}}
{"actor":{"display_login":"munificent"}}