# Fetching Details From License

### The method used to fetch the details from the license is

```
AccuraOcr.getMetaData()
```

### The example function is shown below

```
  Future<void> getMetaData() async{
    try {
      await AccuraOcr.getMetaData().then((value) =>
          print(value));
    }on PlatformException{}
    if (!mounted) return;
  }
```

### ***Response:***

**On Success:** JSON String Response = { countrie&#x73;**:** Array\[], barcode&#x73;**:** Array\[], isVali&#x64;**:** boolean, isOCREnabl&#x65;**:** boolean, isBarcodeEnabl&#x65;**:** boolean, isBankCardEnable: boolean, isMRZEnable: boolean }

**Error:** String
