Update Example in README.md to ES2015 syntax
Update Example in README.md to ES2015 syntax

jiaminglu/react-native-barcodescanner,jiaminglu/react-native-barcodescanner,ideacreation/react-native-barcodescanner,shadye/react-native-barcodescanner,shadye/react-native-barcodescanner,ideacreation/react-native-barcodescanner