# BarcodeScannerUiResult.fromJson constructor

BarcodeScannerUiResult.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory BarcodeScannerUiResult.fromJson(Map<String, dynamic> json) =>
        BarcodeScannerUiResult(
          items: json.containsKey("items")
              ? (json["items"] as List<dynamic>)
                  .map((it) =>
                      BarcodeScannerUiItem.fromJson(it as Map<String, dynamic>))
                  .toList()
              : [],
        );