getOrderNumber method

  1. @override
String getOrderNumber(
  1. BuildContext context
)
override

Implementation

@override
String getOrderNumber(BuildContext context) {
  var state = getState(context);
  if (state is InitializedPayState) {
    return state.orderNumber;
  } else {
    return '?';
  }
}