PaymentLinksResourcePhoneNumberCollection.fromJson constructor

PaymentLinksResourcePhoneNumberCollection.fromJson(
  1. Object? json
)

Implementation

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