checkShorebirdPatch method
Implementation
Future<void> checkShorebirdPatch(
{UpdateTrackType track = UpdateTrackType.stable}) async {
if (!enableShorebird ||
_shorebirdService == null ||
!_shorebirdService!.isAvailable) {
await _handleShorebirdStatusChange(
status: ShorebirdUpdateStatus.unavailable);
return;
}
await _shorebirdService!.checkForUpdate(
track: track.toShorebirdUpdateTrack(),
onStatusChange: _handleShorebirdStatusChange,
);
}