tryDecode static method
Implementation
static String? tryDecode(List<int>? value,
[StringEncoding type = StringEncoding.utf8]) {
if (value == null) return null;
try {
return decode(value, type);
} catch (e) {
return null;
}
}
static String? tryDecode(List<int>? value,
[StringEncoding type = StringEncoding.utf8]) {
if (value == null) return null;
try {
return decode(value, type);
} catch (e) {
return null;
}
}