decode static method
Implementation
static dynamic decode(String json) {
try {
return jsonDecode(json);
} catch (e) {
Log().debug("Failed to decode json string [$json]. Error is $e");
return null;
}
}
static dynamic decode(String json) {
try {
return jsonDecode(json);
} catch (e) {
Log().debug("Failed to decode json string [$json]. Error is $e");
return null;
}
}