class Profile {
  String? sId;
  String? username;
  List<Null>? teams;
  String? appBundleId;
  bool? isSkip;
  Null? pushToken;
  Null? devicePlatform;
  Null? ipAddress;
  Null? userAgent;
  String? deviceUid;
  Null? adsId;
  Null? lastOnline;
  String? type;
  int? iV;

  Profile(
      {this.sId,
        this.username,
        this.teams,
        this.appBundleId,
        this.isSkip,
        this.pushToken,
        this.devicePlatform,
        this.ipAddress,
        this.userAgent,
        this.deviceUid,
        this.adsId,
        this.lastOnline,
        this.type,
        this.iV});

  Profile.fromJson(Map<String, dynamic> json) {
    sId = json['_id'];
    username = json['username'];
    if (json['teams'] != null) {
      teams = <Null>[];
    }
    appBundleId = json['appBundleId'];
    isSkip = json['isSkip'];
    pushToken = json['pushToken'];
    devicePlatform = json['devicePlatform'];
    ipAddress = json['ipAddress'];
    userAgent = json['userAgent'];
    deviceUid = json['deviceUid'];
    adsId = json['adsId'];
    lastOnline = json['lastOnline'];
    type = json['type'];
    iV = json['__v'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['_id'] = this.sId;
    data['username'] = this.username;
    data['appBundleId'] = this.appBundleId;
    data['isSkip'] = this.isSkip;
    data['pushToken'] = this.pushToken;
    data['devicePlatform'] = this.devicePlatform;
    data['ipAddress'] = this.ipAddress;
    data['userAgent'] = this.userAgent;
    data['deviceUid'] = this.deviceUid;
    data['adsId'] = this.adsId;
    data['lastOnline'] = this.lastOnline;
    data['type'] = this.type;
    data['__v'] = this.iV;
    return data;
  }
}