getLabel method
Implementation
String getLabel(AppLocalizations appLocalizations) => switch (this) {
OperationType.details => appLocalizations.background_task_operation_details,
OperationType.addPrice => 'Add price',
OperationType.addOtherPrice => 'Add price to existing proof',
OperationType.image => appLocalizations.background_task_operation_image,
OperationType.unselect => 'Unselect a product image',
OperationType.hungerGames => 'Answering to a Hunger Games question',
OperationType.crop => 'Crop an existing image',
OperationType.refreshLater =>
'Waiting 10 min before refreshing product to get all automatic edits',
OperationType.offline => 'Downloading top n products for offline usage',
OperationType.offlineBarcodes => 'Downloading top n barcodes',
OperationType.offlineProducts => 'Downloading products',
OperationType.fullRefresh => 'Refreshing the full local database',
OperationType.languageRefresh =>
'Refreshing the local database to a new language',
OperationType.folksonomy => 'Updating folksonomy product tags',
};