class offline { int? userid; String? authname; int? configid; int? authmode; int? roleid; String? firstname; String? lastname; String? fullname; String? password; String? email; String? contactno; String? address; String? suburb; String? city; String? state; String? postcode; String? userfcmtoken; int? pin; int? partnerid; String? identificationno; String? vehiclename; String? vehicleno; String? licenseno; String? insoranceno; String? insurancedate; int? shiftid; String? starttime; String? endtime; int? shifthours; double? basefare; double? additionalcharges; int? orders; double? fuelcharge; String? logdate; int? applocationid; String? applocation; int? logseconds; int? riderid; String? status; int? tenantid; offline({ this.userid, this.authname, this.configid, this.authmode, this.roleid, this.firstname, this.lastname, this.fullname, this.password, this.email, this.contactno, this.address, this.suburb, this.city, this.state, this.postcode, this.userfcmtoken, this.pin, this.partnerid, this.identificationno, this.vehiclename, this.vehicleno, this.licenseno, this.insoranceno, this.insurancedate, this.shiftid, this.starttime, this.endtime, this.shifthours, this.basefare, this.additionalcharges, this.orders, this.fuelcharge, this.logdate, this.applocationid, this.applocation, this.logseconds, this.riderid, this.status, this.tenantid, }); factory offline.fromJson(Map json) { return offline( userid: json['userid'] as int?, authname: json['authname'] as String?, configid: json['configid'] as int?, authmode: json['authmode'] as int?, roleid: json['roleid'] as int?, firstname: json['firstname'] as String?, lastname: json['lastname'] as String?, fullname: json['fullname'] as String?, password: json['password'] as String?, email: json['email'] as String?, contactno: json['contactno'] as String?, address: json['address'] as String?, suburb: json['suburb'] as String?, city: json['city'] as String?, state: json['state'] as String?, postcode: json['postcode'] as String?, userfcmtoken: json['userfcmtoken'] as String?, pin: json['pin'] as int?, partnerid: json['partnerid'] as int?, identificationno: json['identificationno'] as String?, vehiclename: json['vehiclename'] as String?, vehicleno: json['vehicleno'] as String?, licenseno: json['licenseno'] as String?, insoranceno: json['insoranceno'] as String?, insurancedate: json['insurancedate'] as String?, shiftid: json['shiftid'] as int?, starttime: json['starttime'] as String?, endtime: json['endtime'] as String?, shifthours: json['shifthours'] as int?, basefare: (json['basefare'] as num?)?.toDouble(), additionalcharges: (json['additionalcharges'] as num?)?.toDouble(), orders: json['orders'] as int?, fuelcharge: (json['fuelcharge'] as num?)?.toDouble(), logdate: json['logdate'] as String?, applocationid: json['applocationid'] as int?, applocation: json['applocation'] as String?, logseconds: json['logseconds'] as int?, riderid: json['riderid'] as int?, status: json['status'] as String?, tenantid: json['tenantid'] as int?, ); } Map toJson() { final Map data = {}; data['userid'] = userid; data['authname'] = authname; data['configid'] = configid; data['authmode'] = authmode; data['roleid'] = roleid; data['firstname'] = firstname; data['lastname'] = lastname; data['fullname'] = fullname; data['password'] = password; data['email'] = email; data['contactno'] = contactno; data['address'] = address; data['suburb'] = suburb; data['city'] = city; data['state'] = state; data['postcode'] = postcode; data['userfcmtoken'] = userfcmtoken; data['pin'] = pin; data['partnerid'] = partnerid; data['identificationno'] = identificationno; data['vehiclename'] = vehiclename; data['vehicleno'] = vehicleno; data['licenseno'] = licenseno; data['insoranceno'] = insoranceno; data['insurancedate'] = insurancedate; data['shiftid'] = shiftid; data['starttime'] = starttime; data['endtime'] = endtime; data['shifthours'] = shifthours; data['basefare'] = basefare; data['additionalcharges'] = additionalcharges; data['orders'] = orders; data['fuelcharge'] = fuelcharge; data['logdate'] = logdate; data['applocationid'] = applocationid; data['applocation'] = applocation; data['logseconds'] = logseconds; data['riderid'] = riderid; data['status'] = status; data['tenantid'] = tenantid; return data; } }