MqttSessionKilledData.fromJson(Map<String, dynamic> json) { sessions = json["sessions"] == null ? null : (json["sessions"] as List).map((e) => Sessions.fromJson(e)).toList(); }