mirror of
https://github.com/foss42/apidash.git
synced 2025-05-28 20:27:04 +08:00
kEncoder -> kJsonEncoder
This commit is contained in:
@ -150,7 +150,7 @@ Uint8List jsonMapToBytes(Map<String, dynamic>? map) {
|
||||
if (map == null) {
|
||||
return Uint8List.fromList([]);
|
||||
} else {
|
||||
String text = kEncoder.convert(map);
|
||||
String text = kJsonEncoder.convert(map);
|
||||
var l = utf8.encode(text);
|
||||
var bytes = Uint8List.fromList(l);
|
||||
return bytes;
|
||||
|
Reference in New Issue
Block a user