toList method

List toList()

JSON String to List usingjson.decode

Implementation

// ignore: always_specify_types
List toList() {
  try {
    return json.decode(this);
  } on Exception catch (e, s) {
    errorLogsNS("Error in toList\n\n *$this* ", e, s);
  }
  return defaultList;
}