getKeystoreMap function

Future<Map<String, dynamic>> getKeystoreMap()

Implementation

Future<Map<String, dynamic>> getKeystoreMap() async {
  var properties = await rootBundle.loadString('assets/util/keystore.json');
  var mapProps = jsonDecode(properties);
  return mapProps[mapProps['env']];
}