{"action":"created","comment":{"url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/comments/28284866","id":28284866,"diff_hunk":"@@ -1028,7 +1028,8 @@ class Field extends ModelElement {\n     if (_field.node == null) return null;\n     var v = _field.node.toSource();\n     if (v == null) return null;\n-    return v.substring(v.indexOf('=') + 1, v.length).trim();\n+    var string = v.substring(v.indexOf('= ') + 2, v.length);","path":"lib/src/model.dart","position":5,"original_position":5,"commit_id":"2a5d791797cccba81d5e000f784bb223465667bb","original_commit_id":"2a5d791797cccba81d5e000f784bb223465667bb","user":{"login":"keertip","id":2192312,"avatar_url":"https://avatars.githubusercontent.com/u/2192312?v=3","gravatar_id":"","url":"https://api.github.com/users/keertip","html_url":"https://github.com/keertip","followers_url":"https://api.github.com/users/keertip/followers","following_url":"https://api.github.com/users/keertip/following{/other_user}","gists_url":"https://api.github.com/users/keertip/gists{/gist_id}","starred_url":"https://api.github.com/users/keertip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keertip/subscriptions","organizations_url":"https://api.github.com/users/keertip/orgs","repos_url":"https://api.github.com/users/keertip/repos","events_url":"https://api.github.com/users/keertip/events{/privacy}","received_events_url":"https://api.github.com/users/keertip/received_events","type":"User","site_admin":false},"body":"Will do, and also add a test case.","created_at":"2015-04-13T22:15:52Z","updated_at":"2015-04-13T22:15:52Z","html_url":"https://github.com/dart-lang/dartdoc/pull/371#discussion_r28284866","pull_request_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/371","_links":{"self":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/comments/28284866"},"html":{"href":"https://github.com/dart-lang/dartdoc/pull/371#discussion_r28284866"},"pull_request":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/371"}}},"pull_request":{"url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/371","id":33207135,"html_url":"https://github.com/dart-lang/dartdoc/pull/371","diff_url":"https://github.com/dart-lang/dartdoc/pull/371.diff","patch_url":"https://github.com/dart-lang/dartdoc/pull/371.patch","issue_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/371","number":371,"state":"closed","locked":false,"title":"fix linking for constants","user":{"login":"keertip","id":2192312,"avatar_url":"https://avatars.githubusercontent.com/u/2192312?v=3","gravatar_id":"","url":"https://api.github.com/users/keertip","html_url":"https://github.com/keertip","followers_url":"https://api.github.com/users/keertip/followers","following_url":"https://api.github.com/users/keertip/following{/other_user}","gists_url":"https://api.github.com/users/keertip/gists{/gist_id}","starred_url":"https://api.github.com/users/keertip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keertip/subscriptions","organizations_url":"https://api.github.com/users/keertip/orgs","repos_url":"https://api.github.com/users/keertip/repos","events_url":"https://api.github.com/users/keertip/events{/privacy}","received_events_url":"https://api.github.com/users/keertip/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-13T21:48:39Z","updated_at":"2015-04-13T22:15:52Z","closed_at":"2015-04-13T22:03:27Z","merged_at":"2015-04-13T22:03:27Z","merge_commit_sha":"df86ac3c259efe065b6a1661380433dea00da1ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/371/commits","review_comments_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/371/comments","review_comment_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/371/comments","statuses_url":"https://api.github.com/repos/dart-lang/dartdoc/statuses/2a5d791797cccba81d5e000f784bb223465667bb","head":{"label":"keertip:constant","ref":"constant","sha":"2a5d791797cccba81d5e000f784bb223465667bb","user":{"login":"keertip","id":2192312,"avatar_url":"https://avatars.githubusercontent.com/u/2192312?v=3","gravatar_id":"","url":"https://api.github.com/users/keertip","html_url":"https://github.com/keertip","followers_url":"https://api.github.com/users/keertip/followers","following_url":"https://api.github.com/users/keertip/following{/other_user}","gists_url":"https://api.github.com/users/keertip/gists{/gist_id}","starred_url":"https://api.github.com/users/keertip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keertip/subscriptions","organizations_url":"https://api.github.com/users/keertip/orgs","repos_url":"https://api.github.com/users/keertip/repos","events_url":"https://api.github.com/users/keertip/events{/privacy}","received_events_url":"https://api.github.com/users/keertip/received_events","type":"User","site_admin":false},"repo":{"id":27785165,"name":"dartdoc","full_name":"keertip/dartdoc","owner":{"login":"keertip","id":2192312,"avatar_url":"https://avatars.githubusercontent.com/u/2192312?v=3","gravatar_id":"","url":"https://api.github.com/users/keertip","html_url":"https://github.com/keertip","followers_url":"https://api.github.com/users/keertip/followers","following_url":"https://api.github.com/users/keertip/following{/other_user}","gists_url":"https://api.github.com/users/keertip/gists{/gist_id}","starred_url":"https://api.github.com/users/keertip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keertip/subscriptions","organizations_url":"https://api.github.com/users/keertip/orgs","repos_url":"https://api.github.com/users/keertip/repos","events_url":"https://api.github.com/users/keertip/events{/privacy}","received_events_url":"https://api.github.com/users/keertip/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keertip/dartdoc","description":"API documentation tool for Dart. PRE-ALPHA","fork":true,"url":"https://api.github.com/repos/keertip/dartdoc","forks_url":"https://api.github.com/repos/keertip/dartdoc/forks","keys_url":"https://api.github.com/repos/keertip/dartdoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keertip/dartdoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keertip/dartdoc/teams","hooks_url":"https://api.github.com/repos/keertip/dartdoc/hooks","issue_events_url":"https://api.github.com/repos/keertip/dartdoc/issues/events{/number}","events_url":"https://api.github.com/repos/keertip/dartdoc/events","assignees_url":"https://api.github.com/repos/keertip/dartdoc/assignees{/user}","branches_url":"https://api.github.com/repos/keertip/dartdoc/branches{/branch}","tags_url":"https://api.github.com/repos/keertip/dartdoc/tags","blobs_url":"https://api.github.com/repos/keertip/dartdoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keertip/dartdoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keertip/dartdoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/keertip/dartdoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keertip/dartdoc/statuses/{sha}","languages_url":"https://api.github.com/repos/keertip/dartdoc/languages","stargazers_url":"https://api.github.com/repos/keertip/dartdoc/stargazers","contributors_url":"https://api.github.com/repos/keertip/dartdoc/contributors","subscribers_url":"https://api.github.com/repos/keertip/dartdoc/subscribers","subscription_url":"https://api.github.com/repos/keertip/dartdoc/subscription","commits_url":"https://api.github.com/repos/keertip/dartdoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/keertip/dartdoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/keertip/dartdoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/keertip/dartdoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/keertip/dartdoc/contents/{+path}","compare_url":"https://api.github.com/repos/keertip/dartdoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keertip/dartdoc/merges","archive_url":"https://api.github.com/repos/keertip/dartdoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keertip/dartdoc/downloads","issues_url":"https://api.github.com/repos/keertip/dartdoc/issues{/number}","pulls_url":"https://api.github.com/repos/keertip/dartdoc/pulls{/number}","milestones_url":"https://api.github.com/repos/keertip/dartdoc/milestones{/number}","notifications_url":"https://api.github.com/repos/keertip/dartdoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keertip/dartdoc/labels{/name}","releases_url":"https://api.github.com/repos/keertip/dartdoc/releases{/id}","created_at":"2014-12-09T20:17:40Z","updated_at":"2014-12-09T20:17:40Z","pushed_at":"2015-04-13T22:03:29Z","git_url":"git://github.com/keertip/dartdoc.git","ssh_url":"git@github.com:keertip/dartdoc.git","clone_url":"https://github.com/keertip/dartdoc.git","svn_url":"https://github.com/keertip/dartdoc","homepage":"","size":814,"stargazers_count":0,"watchers_count":0,"language":"Dart","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dart-lang:master","ref":"master","sha":"7d4cf017a4b5fcd5ac13177d429af6c8285e9edc","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":26507037,"name":"dartdoc","full_name":"dart-lang/dartdoc","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/dartdoc","description":"API documentation tool for Dart. PRE-ALPHA","fork":false,"url":"https://api.github.com/repos/dart-lang/dartdoc","forks_url":"https://api.github.com/repos/dart-lang/dartdoc/forks","keys_url":"https://api.github.com/repos/dart-lang/dartdoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/dartdoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/dartdoc/teams","hooks_url":"https://api.github.com/repos/dart-lang/dartdoc/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/dartdoc/events","assignees_url":"https://api.github.com/repos/dart-lang/dartdoc/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/dartdoc/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/dartdoc/tags","blobs_url":"https://api.github.com/repos/dart-lang/dartdoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/dartdoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/dartdoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/dartdoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/dartdoc/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/dartdoc/languages","stargazers_url":"https://api.github.com/repos/dart-lang/dartdoc/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/dartdoc/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/dartdoc/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/dartdoc/subscription","commits_url":"https://api.github.com/repos/dart-lang/dartdoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/dartdoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/dartdoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/dartdoc/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/dartdoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/dartdoc/merges","archive_url":"https://api.github.com/repos/dart-lang/dartdoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/dartdoc/downloads","issues_url":"https://api.github.com/repos/dart-lang/dartdoc/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/dartdoc/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/dartdoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/dartdoc/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/dartdoc/releases{/id}","created_at":"2014-11-11T22:05:42Z","updated_at":"2015-04-13T22:03:28Z","pushed_at":"2015-04-13T22:08:10Z","git_url":"git://github.com/dart-lang/dartdoc.git","ssh_url":"git@github.com:dart-lang/dartdoc.git","clone_url":"https://github.com/dart-lang/dartdoc.git","svn_url":"https://github.com/dart-lang/dartdoc","homepage":"https://pub.dartlang.org/packages/dartdoc","size":3420,"stargazers_count":19,"watchers_count":19,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":81,"forks":6,"open_issues":81,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/371"},"html":{"href":"https://github.com/dart-lang/dartdoc/pull/371"},"issue":{"href":"https://api.github.com/repos/dart-lang/dartdoc/issues/371"},"comments":{"href":"https://api.github.com/repos/dart-lang/dartdoc/issues/371/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/371/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/371/commits"},"statuses":{"href":"https://api.github.com/repos/dart-lang/dartdoc/statuses/2a5d791797cccba81d5e000f784bb223465667bb"}}}}