refactor: issue icon widget

This commit is contained in:
Rongjian Zhang
2019-12-20 22:41:38 +08:00
parent ddc0f69e95
commit a32b2d366e
6 changed files with 236 additions and 131 deletions

View File

@@ -62,7 +62,7 @@ class GithubEventPayload {
String action;
String ref;
String before;
String after;
String head;
List<GithubEventCommit> commits;
Map<String, dynamic> forkee;
@@ -79,6 +79,11 @@ class GithubEventIssue {
int number;
String body;
dynamic pullRequest;
String state;
int comments;
bool merged;
bool get isPullRequestComment => pullRequest != null;
GithubEventIssue();