PaymentCredentialInstrument constructor

PaymentCredentialInstrument({
  1. required String displayName,
  2. required String icon,
  3. bool? iconMustBeShown,
})

Implementation

factory PaymentCredentialInstrument(
        {required String displayName,
        required String icon,
        bool? iconMustBeShown}) =>
    PaymentCredentialInstrument._(
        displayName: displayName,
        icon: icon,
        iconMustBeShown: iconMustBeShown ?? true);