InfoData.fromJson(Map<String, dynamic> json) { token = json['token'] != null ? new Token.fromJson(json['token']) : null; messageId = json['messageId']; platform = json['platform']; }