PaymentLinkRestrictions.fromJson constructor
PaymentLinkRestrictions.fromJson(
- Object? json
Implementation
factory PaymentLinkRestrictions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentLinkRestrictions(
completedSessions: PaymentLinksResourceCompletedSessions.fromJson(
map['completed_sessions']));
}