CustomX.fromString constructor
CustomX.fromString(
- String data
Implementation
factory CustomX.fromString(String data) {
return CustomX.fromJson(jsonDecode(data.substring(data.indexOf('(') + 1, data.lastIndexOf(')'))));
}