mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-02 11:46:07 -04:00
more freezed cleanup
This commit is contained in:
parent
d6999c36a9
commit
6a47363d8c
10 changed files with 3516 additions and 341 deletions
|
@ -367,7 +367,7 @@ Future<T> processFuturePlain<T>(Future<dynamic> future) {
|
|||
}
|
||||
|
||||
Future<T> processFutureJson<T>(
|
||||
T Function(dynamic) jsonConstructor, Future<dynamic> future) {
|
||||
T Function(Map<String, dynamic>) jsonConstructor, Future<dynamic> future) {
|
||||
return future.then((value) {
|
||||
final list = value as List<dynamic>;
|
||||
switch (list[0] as int) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue