We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0246623 commit db28521Copy full SHA for db28521
lib/utils/json/extension/json.dart
@@ -178,7 +178,6 @@ class JsonParser {
178
179
static T valueAsBytes<T extends List<int>?>(Object? value,
180
{bool allowHex = true, StringEncoding? encoding}) {
181
- if (value is T) return value;
182
if (value == null && _isNull<T>()) return null as T;
183
if (value is List) {
184
try {
0 commit comments