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