Slack 수정
This commit is contained in:
parent
66753889bb
commit
eb841b8e30
2 changed files with 9 additions and 2 deletions
|
|
@ -20,9 +20,15 @@ class Slack extends Command {
|
|||
if (value != null) {
|
||||
message = value as DataSlack;
|
||||
}
|
||||
} else {
|
||||
message = data.message;
|
||||
}
|
||||
|
||||
if (message != null) {
|
||||
await sender.send(message);
|
||||
} else {
|
||||
throw Exception('property or message field should not be null');
|
||||
}
|
||||
message = data.message;
|
||||
await sender.send(message);
|
||||
|
||||
return simpleFuture;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ dependencies:
|
|||
git:
|
||||
url: toki@toki-labs.com:/Volumes/Data2/git/dart_framework.git
|
||||
ref: master
|
||||
color: ^3.0.0
|
||||
|
||||
dev_dependencies:
|
||||
lints: ^3.0.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue