import 'package:active_ecommerce_seller_app/custom/localization.dart'; import 'package:one_context/one_context.dart'; class PaymentStatus { String option_key; String name; PaymentStatus(this.option_key, this.name); static List getPaymentStatusList() { return [ PaymentStatus('', LangText(context: OneContext().context).getLocal()!.all_ucf), PaymentStatus('paid', LangText(context: OneContext().context).getLocal()!.paid_ucf), PaymentStatus('unpaid', LangText(context: OneContext().context).getLocal()!.unpaid_ucf), ]; } static List getPaymentStatusListForUpdater() { return [ PaymentStatus('paid', LangText(context: OneContext().context).getLocal()!.paid_ucf,), PaymentStatus('unpaid', LangText(context: OneContext().context).getLocal()!.unpaid_ucf), ]; } }