type property

PaymentMethodType? type

Implementation

PaymentMethodType? get type {
  // ignore: unnecessary_null_comparison
  if (id == null) {
    return null;
  }

  return PaymentMethodType.fromPrefix(id);
}