PaymentLinksResourceRestrictions.fromJson constructor

PaymentLinksResourceRestrictions.fromJson(
  1. Object? json
)

Implementation

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