downloadUpdate static method

Future<void> downloadUpdate()

Implementation

static Future<void> downloadUpdate() async {
  if (!isSupported) {
    throw StateError('Shorebird updates require Android or iOS.');
  }
  await _runShorebird(['patch', 'download']);
}