Skip to content

Commit db28521

Browse files
committed
Update json.dart
1 parent 0246623 commit db28521

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/utils/json/extension/json.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ class JsonParser {
178178

179179
static T valueAsBytes<T extends List<int>?>(Object? value,
180180
{bool allowHex = true, StringEncoding? encoding}) {
181-
if (value is T) return value;
182181
if (value == null && _isNull<T>()) return null as T;
183182
if (value is List) {
184183
try {

0 commit comments

Comments
 (0)