tryParse static method
dynamic
tryParse(
- dynamic p,
- dynamic str
Implementation
static tryParse(p, str) {
try {
p['data'] = json.decode(str);
} catch (e) {
return error();
}
return p;
}