RoomKeyBackup.fromJson(Map<String, Object?> json) : sessions = (json['sessions'] as Map<String, Object?>).map((k, v) => MapEntry(k, KeyBackupData.fromJson(v as Map<String, Object?>)));