1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- /// code : "OK"
- /// data : {"g_token":"4bgFYEuV94TjAwlI87+PMrfTTRLUWwir1JggN+z+qhvYz4JgcRchmSV5P8MgGNB4OiS92NXbXV5jPTJLFRQGbbj048IMp0feBxnxK9efOhXwt5Ks6FyP7XqGWQrn8lKJ","gameUrl":"http://120.55.180.32:8088/?token=4bgFYEuV94TjAwlI87+PMrfTTRLUWwir1JggN+z+qhvYz4JgcRchmSV5P8MgGNB4OiS92NXbXV5jPTJLFRQGbbj048IMp0feBxnxK9efOhXwt5Ks6FyP7XqGWQrn8lKJ&gameId=489"}
- /// msg : ""
- /// success : true
- class ChatRoomGamesModel {
- String? _code;
- GameData? _data;
- String? _msg;
- bool? _success;
- String? get code => _code;
- GameData? get data => _data;
- String? get msg => _msg;
- bool? get success => _success;
- ChatRoomGamesModel({
- String? code,
- GameData? data,
- String? msg,
- bool? success}){
- _code = code;
- _data = data;
- _msg = msg;
- _success = success;
- }
- ChatRoomGamesModel.fromJson(dynamic json) {
- _code = json['code'];
- _data = json['data'] != null ? GameData.fromJson(json['data']) : null;
- _msg = json['msg'];
- _success = json['success'];
- }
- Map<String, dynamic> toJson() {
- var map = <String, dynamic>{};
- map['code'] = _code;
- if (_data != null) {
- map['data'] = _data?.toJson();
- }
- map['msg'] = _msg;
- map['success'] = _success;
- return map;
- }
- }
- /// g_token : "4bgFYEuV94TjAwlI87+PMrfTTRLUWwir1JggN+z+qhvYz4JgcRchmSV5P8MgGNB4OiS92NXbXV5jPTJLFRQGbbj048IMp0feBxnxK9efOhXwt5Ks6FyP7XqGWQrn8lKJ"
- /// gameUrl : "http://120.55.180.32:8088/?token=4bgFYEuV94TjAwlI87+PMrfTTRLUWwir1JggN+z+qhvYz4JgcRchmSV5P8MgGNB4OiS92NXbXV5jPTJLFRQGbbj048IMp0feBxnxK9efOhXwt5Ks6FyP7XqGWQrn8lKJ&gameId=489"
- class GameData {
- String? _gToken;
- String? _gameUrl;
- String? get gToken => _gToken;
- String? get gameUrl => _gameUrl;
- GameData({
- String? gToken,
- String? gameUrl}){
- _gToken = gToken;
- _gameUrl = gameUrl;
- }
- GameData.fromJson(dynamic json) {
- _gToken = json['g_token'];
- _gameUrl = json['gameUrl'];
- }
- Map<String, dynamic> toJson() {
- var map = <String, dynamic>{};
- map['g_token'] = _gToken;
- map['gameUrl'] = _gameUrl;
- return map;
- }
- }
|