We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024e7bc commit 50c7116Copy full SHA for 50c7116
test/utils/user.dart
@@ -58,5 +58,4 @@ Future<User?> jsonStringToUser(Object? s) async {
58
return User.fromJson(map);
59
}
60
61
-Future<String?> userToJsonString(User? u) async =>
62
- u == null ? null : jsonEncode(u);
+String? userToJsonString(User? u) => u == null ? null : jsonEncode(u);
0 commit comments