getSimData property

Future<SimData> getSimData

Implementation

static Future<SimData> get getSimData async {
  try {
  dynamic simData = await _channel.invokeMethod('getSimData');
  var data = json.decode(simData);
  SimData finalSimData = SimData.fromJson(data);
  return finalSimData;
  } on PlatformException catch (e) {
    print('Sim Service faild to retrive sim data $e');
    throw e;
  }
}