DbJsonWraper.fromString constructor

DbJsonWraper.fromString(
  1. String data
)

Implementation

factory DbJsonWraper.fromString(String data) => DbJsonWraper.fromJson(jsonDecode(data.substring(data.indexOf('(') + 1, data.lastIndexOf(')'))));