mirror of
https://github.com/foss42/apidash.git
synced 2025-12-01 18:28:25 +08:00
whereNotNull() fixed
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import 'package:apidash_core/consts.dart';
|
||||
import 'package:collection/collection.dart';
|
||||
import 'package:seed/seed.dart';
|
||||
import '../models/models.dart';
|
||||
import 'graphql_utils.dart';
|
||||
@@ -52,7 +51,7 @@ List<Map<String, String>>? rowsToFormDataMapList(
|
||||
"value": formData.value,
|
||||
"type": formData.type.name,
|
||||
})
|
||||
.whereNotNull()
|
||||
.nonNulls
|
||||
.toList();
|
||||
return finalMap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user