fromPlatformData function

List<BarcodeResult> fromPlatformData(
  1. List ret
)

Convert List

Implementation

List<BarcodeResult> fromPlatformData(List ret) {
  List<BarcodeResult> results = [];
  for (var i = 0; i < ret.length; i++) {
    results.add(BarcodeResult.fromMap(ret[i] as Map));
  }
  return results;
}