class CommonResponse { String? error; String? sessionId; String? staffId; String? message; CommonResponse({this.error, this.sessionId, this.staffId, this.message}); CommonResponse.fromJson(Map json) { error = json['error']; sessionId = json['session_id']; staffId = json['staff_id']; message = json['message']; } Map toJson() { final Map data = new Map(); data['error'] = this.error; data['session_id'] = this.sessionId; data['staff_id'] = this.staffId; data['message'] = this.message; return data; } }