requireAssetById

fun <T : AbstractAsset> requireAssetById(type: Class<T>, id: String): T