fromJsonString static method

List<BarkoderResult> fromJsonString(
  1. String jsonString
)

Implementation

static List<BarkoderResult> fromJsonString(String jsonString) {
  List<dynamic> resultList = json.decode(jsonString);
  return resultList
      .map((resultMap) => BarkoderResult.fromJson(resultMap))
      .toList();
}