updateQrCode method

Future<void> updateQrCode(
  1. QrCode data
)

Update a qr code.

Implementation

Future<void> updateQrCode(QrCode data) {
  assert(data.id != null, 'The id of the qr code must not be null');
  return _apiClient.updateQrCode(data.id!, data.toJson()).catchError((error) {
    _crashlytics?.recordError(error, StackTrace.current);
    throw error;
  });
}