mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
opt.: sftp home & back (#533)
This commit is contained in:
@@ -28,13 +28,13 @@ class PrivateKeyInfo {
|
||||
}
|
||||
|
||||
PrivateKeyInfo.fromJson(Map<String, dynamic> json)
|
||||
: id = json["id"].toString(),
|
||||
key = json["private_key"].toString();
|
||||
: id = json['id'].toString(),
|
||||
key = json['private_key'].toString();
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final data = <String, String>{};
|
||||
data["id"] = id;
|
||||
data["private_key"] = key;
|
||||
data['id'] = id;
|
||||
data['private_key'] = key;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user