mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt.: upgrade linter & fix lint issues
This commit is contained in:
@@ -55,9 +55,9 @@ Future<void> isolateMessageHandler(
|
||||
SendPort mainSendPort,
|
||||
SendErrorFunction sendError,
|
||||
) async {
|
||||
switch (data.runtimeType) {
|
||||
case SftpReq:
|
||||
switch (data.type) {
|
||||
switch (data) {
|
||||
case SftpReq val:
|
||||
switch (val.type) {
|
||||
case SftpReqType.download:
|
||||
await _download(data, mainSendPort, sendError);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user