PaymentPagesCheckoutSessionCustomFieldsLabel.fromJson constructor

PaymentPagesCheckoutSessionCustomFieldsLabel.fromJson(
  1. Object? json
)

Implementation

factory PaymentPagesCheckoutSessionCustomFieldsLabel.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentPagesCheckoutSessionCustomFieldsLabel(
      custom: map['custom'] == null ? null : (map['custom'] as String));
}