You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
doctor_app_flutter/ios/Runner/VideoCallRequestParameters....

30 lines
894 B
Swift

import Foundation
class VideoCallRequestParameters{
var apiKey:String?
var sessionId:String?
var token:String?
var lang:String?
var vcId:Int?
var tokenId:String?
var generalId:String?
var doctorId:Int?
var baseUrl:String?
var patientName:String?
init(dictionary:NSDictionary){
self.apiKey = dictionary["kApiKey"] as? String
self.sessionId = dictionary["kSessionId"] as? String
self.token = dictionary["kToken"] as? String
self.lang = dictionary["appLang"] as? String
self.vcId = dictionary["VC_ID"] as? Int
self.tokenId = dictionary["TokenID"] as? String
self.generalId = dictionary["generalId"] as? String
self.doctorId = dictionary["DoctorId"] as? Int
self.baseUrl = dictionary["baseUrl"] as? String
self.patientName = dictionary["patientName"] as? String
}
}