route static method

Route<void> route({
  1. String title = '',
  2. PaymentMethodStore? paymentMethodStore,
})

Implementation

static Route<void> route({String title = '', PaymentMethodStore? paymentMethodStore}) {
  return MaterialPageRoute(
      builder: (context) => PaymentMethodsScreen(
            title: title,
            paymentMethodStore: paymentMethodStore,
          ));
}