some formatting of map, parameters and spaces (#29760)
This commit is contained in:
committed by
GitHub
parent
ecfdd7e1ea
commit
bfa1d25bf9
@@ -40,7 +40,7 @@ Future<void> main() async {
|
||||
} else if (words.first == 'start') {
|
||||
_send(<String, dynamic>{
|
||||
'method': 'app.start',
|
||||
'params': <String, dynamic> {
|
||||
'params': <String, dynamic>{
|
||||
'deviceId': words[1],
|
||||
'projectDirectory': words[2],
|
||||
'launchMode': words[3],
|
||||
@@ -50,7 +50,7 @@ Future<void> main() async {
|
||||
if (words.length > 1) {
|
||||
_send(<String, dynamic>{
|
||||
'method': 'app.stop',
|
||||
'params': <String, dynamic> {'appId': words[1]},
|
||||
'params': <String, dynamic>{'appId': words[1]},
|
||||
});
|
||||
} else {
|
||||
_send(<String, dynamic>{'method': 'app.stop'});
|
||||
@@ -59,7 +59,7 @@ Future<void> main() async {
|
||||
if (words.length > 1) {
|
||||
_send(<String, dynamic>{
|
||||
'method': 'app.restart',
|
||||
'params': <String, dynamic> {'appId': words[1]},
|
||||
'params': <String, dynamic>{'appId': words[1]},
|
||||
});
|
||||
} else {
|
||||
_send(<String, dynamic>{'method': 'app.restart'});
|
||||
|
||||
Reference in New Issue
Block a user