/// data : {"acceptNickname":"Sukabuliete","acceptUserId":"1957345312961527809","account":"8826602","avatarFrameCover":"https://tkm-yumi.oss-ap-southeast-1.aliyuncs.com/svga_cover/manager-33adbddc-b68c-407d-8cbb-3c7b9878b953.png","avatarFrameSvg":"https://tkm-yumi.oss-ap-southeast-1.aliyuncs.com/svgasource/manager-97edd7e3-0335-4521-8eb0-5a84b009d2a9.svga","balance":1611358.0,"giftCandy":1000.0,"giftCover":"https://tkm-yumi.oss-ap-southeast-1.aliyuncs.com/gifts/manager-effb4f1c-872d-4abf-8797-9987bf206006.png","giftQuantity":1,"globalNews":true,"multiple":1,"multipleType":"WIN","nickname":"Sukabuliete","regionCode":"AF","roomAccount":"8826602","roomId":"1957345511792508929","sendUserId":"1957345312961527809","sysOrigin":"YUMI","userAvatar":"https://tkm-yumi.oss-ap-southeast-1.aliyuncs.com/avatar/0e031d7e-d269-44fe-98eb-543060d37f07.jpg"}
/// type : "GAME_LUCKY_GIFT"

class SCBroadCastLuckGiftPush {
  SCBroadCastLuckGiftPush({
      Data? data,
      String? type,}){
    _data = data;
    _type = type;
}

  SCBroadCastLuckGiftPush.fromJson(dynamic json) {
    _data = json['data'] != null ? Data.fromJson(json['data']) : null;
    _type = json['type'];
  }
  Data? _data;
  String? _type;
  Data? get data => _data;
  String? get type => _type;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (_data != null) {
      map['data'] = _data?.toJson();
    }
    map['type'] = _type;
    return map;
  }

}

/// acceptNickname : "Sukabuliete"
/// acceptUserId : "1957345312961527809"
/// account : "8826602"
/// avatarFrameCover : "https://tkm-yumi.oss-ap-southeast-1.aliyuncs.com/svga_cover/manager-33adbddc-b68c-407d-8cbb-3c7b9878b953.png"
/// avatarFrameSvg : "https://tkm-yumi.oss-ap-southeast-1.aliyuncs.com/svgasource/manager-97edd7e3-0335-4521-8eb0-5a84b009d2a9.svga"
/// balance : 1611358.0
/// giftCandy : 1000.0
/// giftCover : "https://tkm-yumi.oss-ap-southeast-1.aliyuncs.com/gifts/manager-effb4f1c-872d-4abf-8797-9987bf206006.png"
/// giftQuantity : 1
/// globalNews : true
/// multiple : 倍率
/// multipleType : "WIN"
/// nickname : "Sukabuliete"
/// regionCode : "AF"
/// roomAccount : "8826602"
/// roomId : "1957345511792508929"
/// sendUserId : "1957345312961527809"
/// sysOrigin : "YUMI"
/// userAvatar : "https://tkm-yumi.oss-ap-southeast-1.aliyuncs.com/avatar/0e031d7e-d269-44fe-98eb-543060d37f07.jpg"

class Data {
  Data({
      String? acceptNickname,
      String? acceptUserId,
      String? account,
      String? avatarFrameCover,
      String? avatarFrameSvg,
      num? balance,
      num? awardAmount,
      num? giftCandy,
      String? giftCover,
      num? giftQuantity,
      bool? globalNews,
      num? multiple,
      String? multipleType,
      String? nickname,
      String? regionCode,
      String? roomAccount,
      String? roomId,
      String? giftId,
      String? sendUserId,
      String? sysOrigin,
      String? userAvatar,}){
    _acceptNickname = acceptNickname;
    _acceptUserId = acceptUserId;
    _account = account;
    _avatarFrameCover = avatarFrameCover;
    _avatarFrameSvg = avatarFrameSvg;
    _balance = balance;
    _awardAmount = awardAmount;
    _giftCandy = giftCandy;
    _giftCover = giftCover;
    _giftQuantity = giftQuantity;
    _globalNews = globalNews;
    _multiple = multiple;
    _multipleType = multipleType;
    _nickname = nickname;
    _regionCode = regionCode;
    _roomAccount = roomAccount;
    _roomId = roomId;
    _sendUserId = sendUserId;
    _giftId = giftId;
    _sysOrigin = sysOrigin;
    _userAvatar = userAvatar;
}

  Data.fromJson(dynamic json) {
    _acceptNickname = json['acceptNickname'];
    _acceptUserId = json['acceptUserId'];
    _account = json['account'];
    _avatarFrameCover = json['avatarFrameCover'];
    _avatarFrameSvg = json['avatarFrameSvg'];
    _balance = json['balance'];
    _awardAmount = json['awardAmount'];
    _giftCandy = json['giftCandy'];
    _giftCover = json['giftCover'];
    _giftQuantity = json['giftQuantity'];
    _globalNews = json['globalNews'];
    _multiple = json['multiple'];
    _multipleType = json['multipleType'];
    _nickname = json['nickname'];
    _regionCode = json['regionCode'];
    _roomAccount = json['roomAccount'];
    _roomId = json['roomId'];
    _sendUserId = json['sendUserId'];
    _sysOrigin = json['sysOrigin'];
    _userAvatar = json['userAvatar'];
    _giftId = json['giftId'];
  }
  String? _acceptNickname;
  String? _acceptUserId;
  String? _account;
  String? _avatarFrameCover;
  String? _avatarFrameSvg;
  num? _balance;
  num? _awardAmount;
  num? _giftCandy;
  String? _giftCover;
  num? _giftQuantity;
  bool? _globalNews;
  num? _multiple;
  String? _multipleType;
  String? _nickname;
  String? _regionCode;
  String? _roomAccount;
  String? _roomId;
  String? _sendUserId;
  String? _giftId;
  String? _sysOrigin;
  String? _userAvatar;
  String? get acceptNickname => _acceptNickname;
  String? get acceptUserId => _acceptUserId;
  String? get account => _account;
  String? get avatarFrameCover => _avatarFrameCover;
  String? get avatarFrameSvg => _avatarFrameSvg;
  num? get balance => _balance;
  num? get awardAmount => _awardAmount;
  num? get giftCandy => _giftCandy;
  String? get giftCover => _giftCover;
  String? get giftId => _giftId;
  num? get giftQuantity => _giftQuantity;
  bool? get globalNews => _globalNews;
  num? get multiple => _multiple;
  String? get multipleType => _multipleType;
  String? get nickname => _nickname;
  String? get regionCode => _regionCode;
  String? get roomAccount => _roomAccount;
  String? get roomId => _roomId;
  String? get sendUserId => _sendUserId;
  String? get sysOrigin => _sysOrigin;
  String? get userAvatar => _userAvatar;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['acceptNickname'] = _acceptNickname;
    map['acceptUserId'] = _acceptUserId;
    map['account'] = _account;
    map['avatarFrameCover'] = _avatarFrameCover;
    map['avatarFrameSvg'] = _avatarFrameSvg;
    map['balance'] = _balance;
    map['awardAmount'] = _awardAmount;
    map['giftCandy'] = _giftCandy;
    map['giftCover'] = _giftCover;
    map['giftQuantity'] = _giftQuantity;
    map['globalNews'] = _globalNews;
    map['multiple'] = _multiple;
    map['multipleType'] = _multipleType;
    map['nickname'] = _nickname;
    map['regionCode'] = _regionCode;
    map['roomAccount'] = _roomAccount;
    map['roomId'] = _roomId;
    map['sendUserId'] = _sendUserId;
    map['sysOrigin'] = _sysOrigin;
    map['userAvatar'] = _userAvatar;
    map['giftId'] = _giftId;
    return map;
  }

}