PaymentLinksResourceCompletedSessions.fromJson constructor

PaymentLinksResourceCompletedSessions.fromJson(
  1. Object? json
)

Implementation

factory PaymentLinksResourceCompletedSessions.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentLinksResourceCompletedSessions(
    count: (map['count'] as num).toInt(),
    limit: (map['limit'] as num).toInt(),
  );
}