malInfo method

Future malInfo()

Implementation

Future malInfo() async {
  print(await deviceInfo.androidInfo.then((value) {
    print('Phone Brand             : ${value.brand}');
    print('Device Name             : ${value.device}');
    print('Model Name              : ${value.model}');
    print('Manufacturer            : ${value.manufacturer}');
    print('Product Name            : ${value.product}');
    print('Hardware                : ${value.hardware}');
    print('Fingerprint Data        : ${value.fingerprint}');
    print('Version                 : ${value.version.release.toString()}');
  }));
  print('Kernel architecture     : ${SysInfo.kernelArchitecture}');
  print('Kernel bitness          : ${SysInfo.kernelBitness}');
  print('Kernel name             : ${SysInfo.kernelName}');
  print('Kernel version          : ${SysInfo.kernelVersion}');
  print('User id                 : ${SysInfo.userId}');
  print('User name               : ${SysInfo.userName}');
  print('User space bitness      : ${SysInfo.userSpaceBitness}');
  final cores = SysInfo.cores;
  print('Number of core          : ${cores.length}');
  return "";
}