init method

Future<(List<Licence>, String)> init()

Implementation

Future<(List<Licence>, String)> init() async {
  final deviceid = await ManagerSDKF().deviceID();
  final devicename = await ManagerSDKF().deviceName();
  final licences = await ManagerSDKF().readLicences();
  _deviceID = deviceid;
  _licencias = licences;
  _deviceName = devicename;
  return (licences, deviceid);
}