parseJson<T> static method
Implementation
static T? parseJson<T>(String jsonString) {
try {
final decoded = jsonDecode(jsonString);
return decoded is T ? decoded : null;
} catch (e) {
throw FittorParseException('Failed to parse JSON: $e', e);
}
}