LogError.fromString constructor

LogError.fromString(
  1. String data
)

Implementation

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