update method

Future<bool> update()

Implementation

Future<bool> update() async {
  try {
    await pubUpdater.update(packageName: 'sip_cli');
  } catch (error) {
    final data = jsonDecode(error.toString());
    logger.detail('$data');

    return false;
  }

  return true;
}