PaymentLinksResourceCustomFieldsDropdownOption.fromJson constructor

PaymentLinksResourceCustomFieldsDropdownOption.fromJson(
  1. Object? json
)

Implementation

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